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
In questa pagina del sito puoi guardare il video online Python multiplication table using a for loop. Code explained at the end della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Online Skills 13 giugno 2017, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,931 volte e gli è piaciuto 4 spettatori. Buona visione!