Python while loops tutorial example explained
#while loop = a statement that will execute it's block of code,
# as long as it's condition remains true
name = ""
while len(name) == 0:
name = input("Enter your name: ")
print("Hello "+name)
#python #while #loop
––––––––––––––––––––––––––––––
Up In My Jam (All Of A Sudden) by - Kubbi https://soundcloud.com/kubbi
Creative Commons — Attribution-ShareAlike 3.0 Unported— CC BY-SA 3.0
Free Download / Stream: http://bit.ly/2JnDfCE
Music promoted by Audio Library https://youtu.be/tDexBj46oNI
––––––––––––––––––––––––––––––
#while loop = a statement that will execute it's block of code,
# as long as it's condition remains true
name = ""
while len(name) == 0:
name = input("Enter your name: ")
print("Hello "+name)
#python #while #loop
––––––––––––––––––––––––––––––
Up In My Jam (All Of A Sudden) by - Kubbi https://soundcloud.com/kubbi
Creative Commons — Attribution-ShareAlike 3.0 Unported— CC BY-SA 3.0
Free Download / Stream: http://bit.ly/2JnDfCE
Music promoted by Audio Library https://youtu.be/tDexBj46oNI
––––––––––––––––––––––––––––––
- Category
- Bro Code
- Tags
- Python (Software), while, loop

Be the first to comment