Mai soch rha tha...ki Alg se Schdule bnaunga ...jisme sirf apko Appreciate Krna hai..... Hr video ke bad ..itna accha lgta hai..ki kya btaye sir .. Tb hi to mene quote likha hai (mai Small writer bhi hu) ... "Let's make coding easy with Codeitup" Once again wonderful Lecture ... Jai ho ..jao ho
My program to take both int & str value into the list from user & to find frequency of both str & int value- a=[] for i in range(5): x=input("Enter items:") a.append(x) print(a) p=input("Enter str val whose fre. u want to know:") f=a.count(p) print("Frequency of",p,"=",f) q=int(input("Enter digit value whose fre. u want to know:")) st=str(q) f=a.count(st) print("Frequency of",st,"=",f) Literally, it took me 1 hour , l know it's not that tough but still.. anyways happy to not give up❤😇
I was about to buy an online course for python but then i got to know about this chanel. This is probably the best channel for learning python. Sir ap ka samjhane ka tarika bohot achaa hain. Am finding interest not just in the subject but also the way you teach. YOu nailed it. Keep bringing programming videos like these. Really helpful :-)
In that case while you are in the loop, ask the choice from user that which type of value he wants to enter, and according to the choice convert the datatype. :)
Sir agr user ko run time per decide karna h ki kis type ka input chahiye to oo kese lenge For example A = int(input("enter A") Yh int type ka dega But mujhe run time per str ki need ho gyi to ess condition me kya krenge
Agar list main int aur string Dono add karna haii to Kese karenge??? Matlab int lagane se to integer main hi convert ho jayega na.. To both add karne ke liye code bataiye plzz
Is case me aap user se input nahi le sakte us case me aapko khud se list me elements daalna hoga. Otherwise saara input string format me accept kijie aur as and when required convert that tp integer.
@@codeitup achaa....list khud se banana padega 2nd part kya!?? A=input(enter elements) A.append() In this all will b accepted as string After that if I want to add int value then.... A=int(input (enter)) Ese karna hoga??? Do bar likhna padega kya? Then
Hi Sir, When i am using this code in my pycharm tool. So its showing me output like this Add the name:ram Enter the freqancy of the nameram Freqancy of ram = 1 Add the name: what to do?
Mai soch rha tha...ki Alg se Schdule bnaunga ...jisme sirf apko Appreciate Krna hai.....
Hr video ke bad ..itna accha lgta hai..ki kya btaye sir ..
Tb hi to mene quote likha hai (mai Small writer bhi hu) ...
"Let's make coding easy with Codeitup"
Once again wonderful Lecture ...
Jai ho ..jao ho
Thanks a lot dear for your precious coment... Keep learning😊
God bless you
sir You are a Best teacher for me
Thanks Vipin!
sir i am going to use one word for you simply AMAZING
LOVE FROM PAKISTAN
Thank you so much @Kashif Yousafzai
Your teaching method is amazing
Thanks a lot!
Thank you sir itna achse samjha ne keliye❤
Most welcome Rashmita!
My program to take both int & str value into the list from user & to find frequency of both str & int value-
a=[]
for i in range(5):
x=input("Enter items:")
a.append(x)
print(a)
p=input("Enter str val whose fre. u want to know:")
f=a.count(p)
print("Frequency of",p,"=",f)
q=int(input("Enter digit value whose fre. u want to know:"))
st=str(q)
f=a.count(st)
print("Frequency of",st,"=",f)
Literally, it took me 1 hour , l know it's not that tough but still.. anyways happy to not give up❤😇
thank you so much for explaining so deeply ,cleanly and neatly.
Most welcome Ganesh, keep learning😊
I was about to buy an online course for python but then i got to know about this chanel. This is probably the best channel for learning python. Sir ap ka samjhane ka tarika bohot achaa hain.
Am finding interest not just in the subject but also the way you teach. YOu nailed it. Keep bringing programming videos like these. Really helpful :-)
Thank you so much Ankit for such a lovely comment.
I am not able to get that why so less views , it's the great explanation really 🙏🙏
Best python videos on utube .
Thanks a lot Priyanshu!
@@codeitup my pleasure sir😊
Sir muje ache se smj a gya count function
That's good Yogesh, keep learning!
This vedio is helpfull
User defined value mai, integer, float aur string ek hi list k under le sakte hai?
Thank you sir🙏
Always welcome Harshita!
Awesome
sir for loop me i kitne value se initialize hota hai? 0 se yaa 1 se........
Mean hum count () function tb hi use kr skty jb phly Append use kry gay???
Jai Shree Ram ❤
🙏
thanks sir
Most welcome😊
Make videos on function codes
hi, if we want to take a input from the user both string and integer value in a list then?
In that case while you are in the loop, ask the choice from user that which type of value he wants to enter, and according to the choice convert the datatype. :)
Yes sir same question was in my mind
@@codeitup then ..we have to make seprate code for datatype from user ... Whichb will change inner coding according to datatype
😊😊😊😊😊
😊
Sir agr user ko run time per decide karna h ki kis type ka input chahiye to oo kese lenge
For example
A = int(input("enter A")
Yh int type ka dega
But mujhe run time per str ki need ho gyi to ess condition me kya krenge
sir, I think you should get a mic that you can clip to your shirt.
Is sound quality poor?
@@codeitup nooo not at all
sir can i store loop in a variable ?
for example v=for i in range(1,n+1)
v.count(0)
No you can't !
Sir isme OOPS ke Concepts Aur Add krdo fir Puri Python Complete ho jayegi Achche Se...
Please 🙏🏻
Agar list main int aur string
Dono add karna haii to
Kese karenge???
Matlab int lagane se to integer main hi convert ho jayega na..
To both add karne ke liye code bataiye plzz
Is case me aap user se input nahi le sakte us case me aapko khud se list me elements daalna hoga. Otherwise saara input string format me accept kijie aur as and when required convert that tp integer.
@@codeitup achaa....list khud se banana padega
2nd part kya!??
A=input(enter elements)
A.append()
In this all will b accepted as string
After that if I want to add int value then....
A=int(input (enter))
Ese karna hoga???
Do bar likhna padega kya?
Then
Sir set mai kese banaye. Count program
Like this:
s = set(['p', 'c', 'e', 'h', 's', 'o'])
print len(s)
Hi Sir,
When i am using this code in my pycharm tool. So its showing me output like this
Add the name:ram
Enter the freqancy of the nameram
Freqancy of ram = 1
Add the name:
what to do?
sir humko isse while loop me kaise badle
sir nhi aa rha h