CBSE Class 11 Informatics Practices Question 88 of 102

Python Programming Fundamentals — Question 49

Back to all questions
49
Question

Question 36

Write a program to input a number and print its first five multiples.

Solution
n = int(input("Enter number: "))
print("First five multiples of", n, "are")
print(n, n * 2, n * 3, n * 4, n * 5)
Output
Enter number: 5
First five multiples of 5 are
5 10 15 20 25
Answer