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
Sur cette page du site, vous pouvez voir la vidéo en ligne Python multiplication table using a for loop. Code explained at the end durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Online Skills 13 juin 2017, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,931 fois et il a aimé 4 téléspectateurs. Bon visionnage!