for Loop vs. while Loop in Python
ฝัง
- เผยแพร่เมื่อ 19 ต.ค. 2024
- Python Programming: for Loop vs. while Loop in Python
Topics discussed:
1. Comparison between for Loop and while Loop.
Python Programming Playlist: • Python Programming
Follow Neso Academy on Instagram: @nesoacademy (bit.ly/2XP63OE)
Contribute: www.nesoacadem...
Memberships: bit.ly/2U7YSPI
Books: www.nesoacadem...
Website ► www.nesoacadem...
Forum ► forum.nesoacad...
Facebook ► goo.gl/Nt0PmB
Twitter ► / nesoacademy
Music:
Axol x Alex Skrindo - You [NCS Release]
#PythonByNeso #PythonProgramming #forLoopVSwhileLoop
You can set a Limit of iterations in while Loop, it's possible, If you use Expression in python:
n = 10,
i = 0
while(i < n):
print("Do a Loop")
i += 1
range accomplishes the same thing but yeah
Sir awesome explanation I have gone through so many channels for same concepts but you r way of explanation is awesome sir please teach sql also and where we can practice
while is kinda cool if you have just an object that can transform to "None" after some time or you have an integer which will reduced to zero you jsut have to type while(number := Number -1)
Thanks you dear jaspreet sing sir from pakistan 🇵🇰🇵🇰❤❤and long live for jaspreet sing sir
please continue making videos on compiler design. thank you ❤❤
Thank you sir 😊
Thanks so much
Thanks for helping me ❤😂🎉
he's built different
Sir you are teaching is good but and try to execute the program
Please add face . because it is more helpful for learning and understanding please understand 🎉🎉🎉🎉❤. tq for video 😊
Likes 667 looks better than 666. I'm the 667th person to like this video