Nested loops in Python Tutorial

Publié le: 11 novembre 2022
sur la chaîne: NitCode
10
1

nested loop = A loop within another loop (outer, inner)
outer loop:
inner loop:

rows = int(input("Enter the # of rows: "))
columns = int(input("Enter the # of columns: "))
symbol = input("Enter a symbol to use: ")

for x in range(rows):
for y in range(columns):
print(symbol, end="")
print()

Subscribe the channel support Please
   • Introduction and History Why to study of p...  


Sur cette page du site, vous pouvez voir la vidéo en ligne Nested loops in Python Tutorial durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur NitCode 11 novembre 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 10 fois et il a aimé 1 téléspectateurs. Bon visionnage!