Write a program to show a table of 5 using a while loop in python.
Answers
Answered by
0
Explanation:
num=input("Enter the number for multiplication table: \n");
#get input from user.
i=0;
while i<=num: #use for loop to iterates 1 times.
i+=1;
print(num,'x',i,'=',num*i)
Answered by
0
Answer:
the answer is
Explanation:
i = 1
while i <= 5
b =i^ * a
print(a,"x",i,"=",b)
i +=1
Similar questions
Political Science,
1 month ago
Math,
1 month ago
Computer Science,
3 months ago
Geography,
3 months ago
Physics,
10 months ago
Math,
10 months ago