Please help me with functions using Python range

Asked 1 years ago, Updated 1 years ago, 91 views

How can I use the range function to input raw_input and repeatedly output the input value 100 times.

python-2.7

2022-09-21 16:24

2 Answers

raw_input = 5
for i in range(100):
    print(raw_input)


2022-09-21 16:24

raw_input=input" (enter a number!) ")
for i in range(100):
    print(raw_input)


2022-09-21 16:24

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.