Exactly 100 times

Report a typo

Jane knows that the variable n stores some integer number (for example, 12345) and wants to print it exactly 100 times in one line. Help her and write down a single line of code that will print number n exactly 100 times.

Printing n exactly 100 times is essentially printing the result of multiplying n by 100! But, since n is an integer, the result of n * 100 will simply be another integer and not n 100 times. What can we change in an expression print(n * 100) to make it print n 100 times?
Write a program in Python 3
n = 12345
# put your python code here
___

Create a free account to access the full topic