Write a program that will receive a user input n (integer). Then it has to print that
number n times.
Sample testcases
Input 1
Output 1
7
7 7 7 7 7 7 7
Input 2
Output 2
4
4 4 4 4
Answers
Answered by
0
Answer:
a = int(input("Enter a number: "))
i = 1
while i <= a:
print(a)
i += 1
Answered by
1
Explanation:
Hey mate here is your answer.
Please mark it as brainliest ✌.
Attachments:
Similar questions