You are viewing a single comment's thread. Return to all comments →
Python 3 if name == 'main': n = int(input().strip())
for i in range(1,11): result = n * i print( f"{n}", 'x', f"{i}" , '= ' f"{result}" )
Seems like cookies are disabled on this browser, please enable them to open this website
Day 5: Loops
You are viewing a single comment's thread. Return to all comments →
Python 3 if name == 'main': n = int(input().strip())