Nested loops in Python Tutorial

Published: 11 November 2022
on channel: 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...  


Watch video Nested loops in Python Tutorial online without registration, duration hours minute second in high quality. This video was added by user NitCode 11 November 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 10 once and liked it 1 people.