Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!

cracked.io | Best Forum Around | Free Premium Accounts




 2741

Python Program to Display the multiplication Table

by Black_Kais3r - 12 April, 2019 - 09:20 PM
This post is by a banned member (Black_Kais3r) - Unhide
68
Posts
38
Threads
5 Years of service
#1
Code:
''' Python program to find the
multiplication table (from 1 to 10)'''

num = 12

# To take input from the user
# num = int(input("Display multiplication table of? "))

# use for loop to iterate 10 times
for i in range(1, 11):
  print(num,'x',i,'=',num*i)
This post is by a banned member (hasi912) - Unhide

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 1 Guest(s)