+ 2

What to do if i have to get user input when i d'ont know the number of elements that the user will insert ? In python

17th Apr 2020, 12:14 PM
Samah Mamour
2 Answers
+ 2
Thank you for your idea
17th Apr 2020, 12:58 PM
Samah Mamour
+ 1
In the most cases I'm using an IF statement to check the users Input and build an exeption handling inside the IF clause. So you can deside if the input is usable, how long it is and so on.
17th Apr 2020, 12:25 PM
Buerstenfeuer
Buerstenfeuer - avatar