Print Table Using While Loop In Python

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

4
2
Kristina 110 points

                                    number = int(input(&quot;Enter A Number : &quot;))

num = 1
while num &lt;= 10:
    total = num * number
    print(total)
    num = num +1

4 (2 Votes)
0
Are there any code examples left?
Create a Free Account
Unlock the power of data and AI by diving into Python, ChatGPT, SQL, Power BI, and beyond.
Sign up
Develop soft skills on BrainApps
Complete the IQ Test
Relative searches
how to make a table using while loop in python table using while loop in python table with while loop python program to print table using while loop how to print table in python using while loop how to create table in python using while loop program to print table in python using while loop Write a program that prints a multiplication table for numbers up to 12 python program to print table of 3 write a program to print table of any number in python using while loop python table using : &lt;10 number 2 multiplication table in python table of the given number python python program for multiplication table python to print multiplication table multiplication table in python Write a program to print tables from 2 to a user provided range (use for loop python program to print table of a given number python to print multiplication table from 1 to 10 using nested for loop multiplication table in python using while loop how to make multiplication table in python using while loop print table of any number in python write a program to print a multiplication table using the while loop in python Python Program to print the table of a given number. Python Program to print the table of a given number ) Python Program to print the table of a given number table program in python using while loop python program to ask the user for a number, and then print the multiplication table (up to 12 x the number). Write a python program to display table of any number using while loop. python program to print multiplication table using while loop print the table of the number till n python program how to make multiplication table in python multiplication table python for loop how to create a multiplication table using function using while loop in python python multiplication table while loop how to make a for loop do the 2 times table in python how to make a for loop do the 2 times table in pytho multiplication table using while while loop in python given the list of students in a table write a python program that asks for user inputs python code that uses for lop to create multiplication table print table using while loop in python program to print multiplication table of a given number in python multiplication table of a number using while loop python Python Program to Display the multiplication Table 2s table in python code while loop table in python code while loop write a python program to find table of a number using while loop
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source