Write a menu driven program to perform the following operations.
Press 1 for displaying the table of 10 upto 10th term in complete table format.
Press 2 to count the total number of blank spaces from the user supplied sentence.
Press 3 to check whether the user supplied word is palindrome or not.
Answers
Answered by
0
Answer:
Explanation:
# 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
for i in range(1, 11):
print(num, 'x', i, '=', num*i)
Similar questions