Python nested loops ➿

Publié le: 07 décembre 2020
sur la chaîne: Bro Code
40,185
1.6k

python nested loops tutorial example explained

#python #nested #loops

nested loops = The "inner loop" will finish all of it's iterations before
finishing one iteration of the "outer loop"

rows = int(input("How many rows?: "))
columns = int(input("How many columns?: "))
symbol = input("Enter a symbol to use: ")

for i in range(rows):
for j in range(columns):
print(symbol, end="")
print()
––––––––––––––––––––––––––––––
Up In My Jam (All Of A Sudden) by - Kubbi   / 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    • Up In My Jam (All Of A Sudden) – Kubb...  
––––––––––––––––––––––––––––––


Sur cette page du site, vous pouvez voir la vidéo en ligne Python nested loops ➿ durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Bro Code 07 décembre 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 40,185 fois et il a aimé 1.6 mille téléspectateurs. Bon visionnage!