Nested loops in Python are easy ➿

Published: 26 October 2022
on channel: Bro Code
303,465
6.9k

#Python #course #tutorial

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()


Watch video Nested loops in Python are easy ➿ online without registration, duration hours minute second in high quality. This video was added by user Bro Code 26 October 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 303,465 once and liked it 6.9 thousand people.