0
how to do so that I can enter data in input() how much do I want?
как сделать так чтобы я мог вводить данные в input() сколько хочу?
2 Answers
+ 2
You can use range and for loop
Example :
data_length = int(input())
Data = [ ]
for i in range(data_length)
Data.append(input("Enter your data")
print(Data)
+ 1
Example? Like this?
N = int( input("Enter Value between 1 to 100:"))