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
En esta página del sitio puede ver el video en línea Python multiplication table using a for loop. Code explained at the end de Duración hora minuto segunda en buena calidad , que subió el usuario Online Skills 13 junio 2017, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 1,931 veces y le gustó 4 a los espectadores. Disfruta viendo!