0

how to do so that I can enter data in input() how much do I want?

как сделать так чтобы я мог вводить данные в input() сколько хочу?

2nd Feb 2022, 9:09 AM
PLAYER.DX2
PLAYER.DX2 - avatar
2 odpowiedzi
+ 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)
3rd Feb 2022, 10:30 AM
Saurav Sharma
Saurav Sharma - avatar
+ 1
Example? Like this? N = int( input("Enter Value between 1 to 100:"))
2nd Feb 2022, 9:17 AM
Jayakrishna 🇮🇳