Input1 = int(input("First number:- "))
Input2 = int(input("Second input:- "))
print(Input1 * Input2)
# 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)
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
# Program: Multiplication Table in Python
# number
num = 5
# let's take a syntax for our table - num x (1 - 10) = num*(1-10)
# Since we're taking the table to 10, hence we'll iterate it 10 times
print("The multiplication table of ", num)
for i in range(1, 11):
print(f" {num} x {i} = {num*i}")
#* is the multiplication symbol in Python, so:
print(2 * 3)
#output: 6