Python Programming Tutorial - for loop

  Рет қаралды 82,985

Amulya's Academy

Amulya's Academy

Күн бұрын

Пікірлер: 105
@manassingh3225
@manassingh3225 Жыл бұрын
in love with your voice, ma'am. I tend to listen more because of ur voice
@sandeephugar5864
@sandeephugar5864 Жыл бұрын
Thank you so much❤️ Clear explanation.. I have ever seen teacher like u mam Tommorow my exam there.. These videos are Very helpfull mee🥳
@pmukesh3911
@pmukesh3911 7 жыл бұрын
Concepts are very clear and easily understandable. Thank you "Amuls".
@AmulsAcademy
@AmulsAcademy 7 жыл бұрын
Welcome:)
@pluckybeast.
@pluckybeast. 3 жыл бұрын
What ever u teacher it has a lot of content Thanks a lot
@AmulsAcademy
@AmulsAcademy 3 жыл бұрын
Thank you :)
@nehayadav3663
@nehayadav3663 4 жыл бұрын
This is quite amazing channel❣️
@AmulsAcademy
@AmulsAcademy 4 жыл бұрын
Thank you :)
@rajm5349
@rajm5349 4 жыл бұрын
how to get the resme shortlisted for an interview kindly help me
@harikrishnants8545
@harikrishnants8545 4 жыл бұрын
can someone please tell how to implement - for(i=2;i
@AmulsAcademy
@AmulsAcademy 4 жыл бұрын
You can increment L in the loop body {last line} :)
@harikrishnants8545
@harikrishnants8545 4 жыл бұрын
To increment L, L+=1 will be enough or not?
@harikrishnants8545
@harikrishnants8545 4 жыл бұрын
@@AmulsAcademy Ok that worked fine. Thanks for mentioning to place that in the last line.
@rajesh9954706788
@rajesh9954706788 5 жыл бұрын
Plz tell.me the important program for class 11 computer science python
@vijaysahal4556
@vijaysahal4556 4 жыл бұрын
very useful you way of teaching nd much clear tq
@AmulsAcademy
@AmulsAcademy 4 жыл бұрын
You are most welcome :)
@Ramesh-rp6jq
@Ramesh-rp6jq 6 жыл бұрын
Hi amuls Need some clarification on loops. How to decide which loop should be used When we write any program . Pls give me some examples of for and while loops. I am bit confusing while use the loops
@AmulsAcademy
@AmulsAcademy 6 жыл бұрын
In python, while loop is used to execute a block of statements repeatedly until a given a condition is satisfied. And when the condition becomes false, the line immediately after the loop in program is executed. The for statement iterates through a collection or iterable object or generator function.[list tuple dictionary range()] If you don't have a tidy data structure to iterate through, or you don't have a generator function that drives your processing, you must use while. otherwise use for loop. Use for loop unless it's impossible. If for is impossible for some reason, then use while loop.
@VijayKumar-uj6hg
@VijayKumar-uj6hg 6 жыл бұрын
will you explain clearly about "nested for loops " (like for loop) having lot of confusion on it
@AmulsAcademy
@AmulsAcademy 6 жыл бұрын
Sure:)
@vijaykribha4223
@vijaykribha4223 6 жыл бұрын
i am so confusing that following syntax ( return "".join(c for c in str if c not in chars)). i got that syntax from one example program. why they are using variable in front of FOR LOOP. what is the advantage????. please explain me....
@AmulsAcademy
@AmulsAcademy 6 жыл бұрын
c for c in str if c not in chars this is the generator expression, syntax: (expression for item in iterable if condition)
@Vijay_Journalist
@Vijay_Journalist 4 жыл бұрын
First your english language fluency is excellent. Classes are very clarity.good job. And can i ask a question????? In your channel more than 200 python classes are present. If we follow your channel fully will i get a job in IT field as a programmer?? Please tell me! Can i get full knowledge about python from amuls??
@AmulsAcademy
@AmulsAcademy 4 жыл бұрын
You can learn basics :)
@prabhashthakur2702
@prabhashthakur2702 7 жыл бұрын
neat and clean teaching technique didi . What u have studied computer engineering or IT?
@AmulsAcademy
@AmulsAcademy 7 жыл бұрын
Thank you:) BE ( IT ) :)
@prabhashthakur2702
@prabhashthakur2702 7 жыл бұрын
umm great.
@SidraWaheed-qk2lj
@SidraWaheed-qk2lj 2 жыл бұрын
can numeric data can be read from a given list using for??
@jaspreet7904
@jaspreet7904 6 жыл бұрын
can u plz tell me looping are iterative statements or not and also what are the statements include in sequential control
@AmulsAcademy
@AmulsAcademy 6 жыл бұрын
In sequential control there are no statements. Loops are iterative control statements if else selection control statements :)
@nilsaha8021
@nilsaha8021 7 жыл бұрын
When I execute the for loop with a list as you mentioned, why my display is different than you. eg. (10, 'less than 25') (20, 'less than 25') I am getting parenthesis and commas. Is it because I am using python 2.7? Thanks
@AmulsAcademy
@AmulsAcademy 7 жыл бұрын
yes because in python 2 print is a statement but in python 3 it is a function. so in python 2.7 you can write like this , print val,"less than 25"
@kavitakadam9559
@kavitakadam9559 Жыл бұрын
Thnk u mam..i loved your explanation
@moneshmon5955
@moneshmon5955 Жыл бұрын
Mam your teaching easily understand thank u mam
@MrVikas28feb
@MrVikas28feb 4 жыл бұрын
good job as always!! just a check, is your name Amul?
@AmulsAcademy
@AmulsAcademy 4 жыл бұрын
Thank you :) My name is Amulya :)
@abhishekabhi960
@abhishekabhi960 2 жыл бұрын
I wish i had teacher like you in college 🙃🙃
@mohammadshahadathossain1544
@mohammadshahadathossain1544 5 жыл бұрын
Excellent video to learn a new idea every time. Can you please help me to take multiple inputs from the user in an array in Python 3.7? For example A=[8,4,12,40,26,28]
@AmulsAcademy
@AmulsAcademy 5 жыл бұрын
n = int(input("how many elements you want in list:")) print("enter the elements:") list1 = [int(input()) for i in range(n)] print(list1) :)
@midhileshmomidi2434
@midhileshmomidi2434 5 жыл бұрын
Hi mam, I have a doubt in for loop I want to use this for a in range(1,10): for b in range(1,10): for c in range(1,10): Can the above 3 lines be written like this ? for a,b,c in range(1,10): If anyother way please explain
@AmulsAcademy
@AmulsAcademy 5 жыл бұрын
if you execute this, for a,b,c in range(1,10): you will get error. No both are not same. You can see that from below example. #nested for loop for a in range(3): for b in range(3): for c in range(3): print(a,b,c) print("*********************************") #Multiple variables for a,b,c in range(3),range(3),range(3): print(a,b,c) #list comprehension print("*******************************") [print(a,b,c) for a in range(3) for b in range(3) for c in range(3)] Execute this program. You can use list comprehension :)
@midhileshmomidi2434
@midhileshmomidi2434 5 жыл бұрын
@@AmulsAcademy Thanks mam
@rajm5349
@rajm5349 4 жыл бұрын
how to get the resme shortlisted for an interview regarding python kindly help me
@SatyamKumar-ur2kr
@SatyamKumar-ur2kr 4 жыл бұрын
Did you start the language c
@AmulsAcademy
@AmulsAcademy 4 жыл бұрын
Yes :)
@msgupta07
@msgupta07 7 жыл бұрын
please add the range() function
@AmulsAcademy
@AmulsAcademy 7 жыл бұрын
Will do:)
@defendersart3051
@defendersart3051 2 жыл бұрын
How to Print- Pyto ,, skiping the 'h', 'n'... Two letter skipped.??
@kundankumar-tj3te
@kundankumar-tj3te 3 жыл бұрын
Hi Mam i want a pandas, deep learning, function all python series video. when will you upload
@abhijeetwagh4282
@abhijeetwagh4282 6 жыл бұрын
I can't understand the for loop execution. Why you took "python" in double quotes?
@AmulsAcademy
@AmulsAcademy 6 жыл бұрын
It is a string. if i take for i in "python" intially i value will be "p" next "y" next "t" next "h" next "o" next "n" after this for loop will terminate. :)
@abhijeetwagh4282
@abhijeetwagh4282 6 жыл бұрын
@@AmulsAcademy Thanks mam💐... How can I build programming skill?
@AmulsAcademy
@AmulsAcademy 6 жыл бұрын
By Practicing:)
@harshavardhanrajukondapall3925
@harshavardhanrajukondapall3925 2 жыл бұрын
You got better at coding... right?
@vigneshvaithya9838
@vigneshvaithya9838 5 жыл бұрын
mam what is membership opertor and what are membership operator
@AmulsAcademy
@AmulsAcademy 5 жыл бұрын
membership operators: kzbin.info/www/bejne/qKbEfoChidNpmq8 :)
@rajm5349
@rajm5349 4 жыл бұрын
can i get any credit risk project explanation
@deviprasanna2551
@deviprasanna2551 4 жыл бұрын
Mam if varaible is smaller than sequence
@anantikasingh8467
@anantikasingh8467 2 жыл бұрын
awesome explanation
@-vamsiChowdary
@-vamsiChowdary 3 жыл бұрын
superly explained
@AmulsAcademy
@AmulsAcademy 3 жыл бұрын
Thank you 😊
@krishnachaitanya7950
@krishnachaitanya7950 7 жыл бұрын
nyc this videos are eeasy to understand
@AmulsAcademy
@AmulsAcademy 7 жыл бұрын
Thank you:)
@zeasammy7572
@zeasammy7572 3 жыл бұрын
Can you do SQL ?
@AmulsAcademy
@AmulsAcademy 3 жыл бұрын
Will try 😊
@MahEsh-jf7uu
@MahEsh-jf7uu 4 жыл бұрын
l=[];k=[];d=[];q=[] r=int(input("how many toys u have :")) N=int(input("no of boxes :")) for i in range(N): c=int(input("enter capacties : ")) l.append(c) t=int(input("enter toys here :")) k.append(t) print(k) print(l) res=[x + r for x in k] for i in l: if(res
@AmulsAcademy
@AmulsAcademy 4 жыл бұрын
hey here you are comparing integer value with list that's why you are getting type error. While comparing the values, all the value should be of same type. Actually i didn't understand the program, but i hope this will be helpful to compare values of two lists. for i in l: for j in res: if(j
@MahEsh-jf7uu
@MahEsh-jf7uu 4 жыл бұрын
@@AmulsAcademy Thanks Madam Madam what should i do if i want to compare two lists l=[2,4,6,10] s=[1,2,5,6] i want to.compare parallel elements in a list like 2 1, 4 2, 5 6 , 10 6
@abgrafix
@abgrafix 6 жыл бұрын
So helpful .. thanks mann
@AmulsAcademy
@AmulsAcademy 6 жыл бұрын
My Pleasure:)
@ashajyothi3382
@ashajyothi3382 4 жыл бұрын
will you please explain about Django
@Albertmars32
@Albertmars32 7 жыл бұрын
this one is a little bit tricky. im gonna have to watch it a few times in order for me to understand it fully
@AmulsAcademy
@AmulsAcademy 7 жыл бұрын
If you have any doubts post a comment:)
@Albertmars32
@Albertmars32 7 жыл бұрын
sure will buddy. hey will you eventually when you finish this series (if you havent) make a tutorial on how to make a really simple application it could be a game or a calendar pretty much anything simple that a beginner will not struggle to follow?
@AmulsAcademy
@AmulsAcademy 7 жыл бұрын
will try:)
@surendranathareddyt1491
@surendranathareddyt1491 2 жыл бұрын
Please make video on meta classes 🙂
@manishasoan6428
@manishasoan6428 5 жыл бұрын
Pls add def function programs...
@electrictamilan1325
@electrictamilan1325 5 жыл бұрын
Mam pls upload more videos
@rajm5349
@rajm5349 4 жыл бұрын
can i get any credit risk project explanation can i get any credit risk project explanation can i get any credit risk project explanation
@pushkaryadav300
@pushkaryadav300 Жыл бұрын
Thanks mam
@life_inked
@life_inked 2 жыл бұрын
you are Magic
@williamjayaraj2244
@williamjayaraj2244 2 жыл бұрын
Thank you.
@akashbirla7212
@akashbirla7212 6 жыл бұрын
Can you give me with a handwritten note...plz
@akashbirla7212
@akashbirla7212 6 жыл бұрын
akash.birla.prof@gmail.com
@AmulsAcademy
@AmulsAcademy 6 жыл бұрын
Sorry i don't have any handwritten notes sorry:)
@akashbirla7212
@akashbirla7212 6 жыл бұрын
It's okay Thank you
@knb8449
@knb8449 5 жыл бұрын
View the video and note down the point's… like a student… that's better…
@mdzahirkhan9893
@mdzahirkhan9893 3 жыл бұрын
gjb yaar
@bunnysunil
@bunnysunil 5 жыл бұрын
Madam please provide MySQL database tutorials madam
@vijaysahal4556
@vijaysahal4556 4 жыл бұрын
👍👍👍👍👍
@SatyamKumar-ur2kr
@SatyamKumar-ur2kr 4 жыл бұрын
C language
@pluckybeast.
@pluckybeast. 3 жыл бұрын
One more thing that u haven't shown us your face yet
@AmulsAcademy
@AmulsAcademy 3 жыл бұрын
I hope soon :)
@suzzitechhut3581
@suzzitechhut3581 7 жыл бұрын
ok
@rajm5349
@rajm5349 4 жыл бұрын
how to get the resme shortlisted for an interview kindly help me
@rajm5349
@rajm5349 4 жыл бұрын
can i get any credit risk project explanation
@rajm5349
@rajm5349 4 жыл бұрын
can i get any credit risk project explanation
@rajm5349
@rajm5349 4 жыл бұрын
can i get any credit risk project explanation
Python Programming Tutorial - While loop
5:43
Amulya's Academy
Рет қаралды 65 М.
Solve any Star Pattern program in Python
18:44
Simply Coding
Рет қаралды 1 МЛН
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 29 МЛН
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 52 МЛН
25 nooby Python habits you need to ditch
9:12
mCoding
Рет қаралды 1,8 МЛН
Nested while Loop in Python
12:49
Neso Academy
Рет қаралды 17 М.
How to solve Square and Hollow pattern programs in Python
17:29
Simply Coding
Рет қаралды 98 М.
While Loop in Python | Python Tutorials for Beginners #lec50
26:51
Jenny's Lectures CS IT
Рет қаралды 90 М.
Python Tutorial - For Loop - Passwords
8:38
Geek Tutorials
Рет қаралды 16 М.
Python Tutorial - Prime Numbers | Printing Prime Numbers in Given Interval
18:33
Python Functions | Python Tutorial for Absolute Beginners #1
30:34
Programming with Mosh
Рет қаралды 1 МЛН
Python Tutorial - Reverse a String Using for loop
8:22
Amulya's Academy
Рет қаралды 172 М.
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 29 МЛН