I created this video with the YouTube Video Editor ( / editor )
This code prints out a readable version of timetable chosen by the user.
num = int(input("Please enter a number you want a timestable for"))
Please enter a number you want a timestable for10
for i in range(1,11):
print(str(i)+"*"+str(num)+"="+str(i*num))
OUTPUT:
1*10=10
2*10=20
3*10=30
4*10=40
5*10=50
6*10=60
7*10=70
8*10=80
9*10=90
10*10=100
На этой странице сайта вы можете посмотреть видео онлайн Python multiplication table using a for loop. Code explained at the end длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Online Skills 13 Июнь 2017, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 1,931 раз и оно понравилось 4 зрителям. Приятного просмотра!