109k views
5 votes
Write a program that allows the user to input a number and assigns this to variable called "counter" The program should loop and print out the word "computing" a total of 12 times



User Sumit
by
4.5k points

1 Answer

1 vote

Answer:

counter = int(input("Enter a number: "))

for i in range(counter):

print("computing")

Step-by-step explanation:

since you didnt mention what program to use, im using python to answer the question

User Denys Pyshniuk
by
5.4k points