Tech Study

Write a Python program to create the multiplication table (from 1 to 10) of a number

Introduction

Write a Python program to create the multiplication table (from 1 to 10) of a number.

I have used python 3.7 compiler for debugging purpose.

num = int(input("Input a number: "))
 
# use for loop to iterate 10 times
for i in range(1,11):
   print(num,'x',i,'=',num*i)

Result

Write a Python program to create the multiplication table (from 1 to 10) of a number
Write a Python program to create the multiplication table (from 1 to 10) of a number

TaggedWrite a Python program to create the multiplication table (from 1 to 10) of a number

Java Final keyword

Introduction : java final keyword The final keyword present in Java programming language is generally used for restricting the user. …

Read more

C++ Memory Management: new and delete

C++ Memory Management We know that arrays store contiguous and the same type of memory blocks, so memory is allocated …

Read more