Computer Science, asked by Swastazord, 2 months ago

Write a program to show a table of 5 using a while loop in python.

Answers

Answered by srinuthiyagarajan
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 dakshitav40126
0

Answer:

the answer is

Explanation:

i = 1

while i <= 5

b =i^ * a

print(a,"x",i,"=",b)

i +=1

Similar questions