“Tabel multiplikasi Python” Kode Jawaban

Tabel multiplikasi 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

Tabel multiplikasi 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

tabel multiplikasi dalam 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

cetak tabel multiplikasi 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

Jawaban yang mirip dengan “Tabel multiplikasi Python”

Pertanyaan yang mirip dengan “Tabel multiplikasi Python”

Lebih banyak jawaban terkait untuk “Tabel multiplikasi Python” di Python

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya