Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

write a python program to find table of a number using while loop

a=int(input("enter table number"))
b=int(input("enter the number to which table is to printed"))
i=1
while i<=b:
    print(a,"x",i,"=",a*i)
    i=i+1
 
PREVIOUS NEXT
Tagged: #write #python #program #find #table #number #loop
ADD COMMENT
Topic
Name
4+6 =