How can I make a while loop print something blank amount of times based on the user input. For example:
age = int(input('Enter your age: '))
while age…
And I just don’t know what to do from there. To be clear, how could I output something 8 times if the user inputs 8 (6 times if the user inputs six…)?
Edit: I want to run a while loop based on the USER INPUT, if they enter 3, it will print something 3 times. I don’t know what they will enter.