Search
 
SCRIPT & CODE EXAMPLE
 

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
Comment

PREVIOUS NEXT
Code Example
Python :: delete nans in df python 
Python :: ipywidget datepicker 
Python :: read files and write into another files python 
Python :: python list.peek 
Python :: isnull().mean() python 
Python :: python repeting timer 
Python :: turn df to dict 
Python :: plot size 
Python :: how to get index of closest value in list python 
Python :: python tips and tricks 
Python :: python replace string 
Python :: decimal in python 
Python :: boto3 delete bucket object 
Python :: import math sqrt python 
Python :: kafka get last offset of topic python 
Python :: import excel python 
Python :: TypeError: strptime() argument 1 must be str, not Series 
Python :: df to csv 
Python :: multiprocessing a for loop python 
Python :: shuffle list 
Python :: remove all odd row pandas 
Python :: change shortcuts in pychar, 
Python :: tkinter get child in frame 
Python :: python set remove if exists 
Python :: python define random variables name 
Python :: play sound on python 
Python :: how to move tkinter images 
Python :: how to open a file with python 
Python :: plot using matplotlib 
Python :: remove first 3 columns pandas 
ADD CONTENT
Topic
Content
Source link
Name
4+7 =