“Table de multiplication Python” Réponses codées

Table de multiplication Python

# Multiplication table (from 1 to 10) in Python
# To take input from the user
# num = int(input("Display multiplication table of? "))
for i in range(1, 11):
   print(num, 'x', i, '=', num*i)
Jealous Jaguar

Table de multiplication Python

multiplication_table = []
for x in range(0, 100): 
    multiplication_table.append([i*x for i in range(0, 100)])
multiply = multiplication_table
    
multiply[6][6]
# 36
Damarion Abendanon

Tableau de multiplication dans Python

num = int(input("Enter the number: "))

print("****Multiplication table of the number****",)

for i  in range(1,11):
    
    print(str(num) + " X " + str(i) + " = " + str(i*num))
Coding boy Hasya

Table de multiplication imprimer Python

# Multiplication table (from 1 to 10) in Python

num = 12

# To take input from the user
# num = int(input("Display multiplication table of? "))

# Iterate 10 times from i = 1 to 10 By AyushG
for i in range(1, 11):
   print(num, 'x', i, '=', num*i)
Techie Ash

Réponses similaires à “Table de multiplication Python”

Questions similaires à “Table de multiplication Python”

Plus de réponses similaires à “Table de multiplication Python” dans Python

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code