Python program to print Multiplication table in reverse order | Revers Multiplication table in Pytho

Pubblicato il: 13 settembre 2022
sul canale di: All in one
1,943
44

All in one channel presents "Python program to print Multiplication table in reverse order | Revers Multiplication table in Python"
In this video, I will solve the python problem of "How to print multiplication table in reverse order in Python"
What output do you get now?
I get a regular multiplication table.
I would like to reverse it so it decreases instead of increasing, Indent code by using four spaces to display it in code blocks. That way it is easier to read.
program:
num = int(input("enter the number= "))
for i in range(10,0,-1):
print(num*i)

output:
enter the number= 3
3 X 10 = 30
3 X 9 = 27
3 X 8 = 24
3 X 7 = 21
3 X 6 = 18
3 X 5 = 15
3 X 4 = 12
3 X 3 = 9
3 X 2 = 6
3 X 1 = 3
.
Follow on Facebook:   / allinonebeautiful  
.
Follow on Twitter: https://twitter.com/AllInOneNature?t=...
.
Watch it "Python program to print multiplication table in reverse order:
   • Python program to print Multiplication tab...  
.
Subscribe to our Youtube Channel!


In questa pagina del sito puoi guardare il video online Python program to print Multiplication table in reverse order | Revers Multiplication table in Pytho della durata di ore minuti seconda in buona qualità , che l'utente ha caricato All in one 13 settembre 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,943 volte e gli è piaciuto 44 spettatori. Buona visione!