Just Feedback/A Bug | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Just Feedback/A Bug

The "input()" function (on Python) can only be used one time. If you use it more than 1 time, it sends an error. Can the team please fix this bug? I'm just asking again.

29th Mar 2024, 2:59 PM
Markus
Markus - avatar
3 Answers
+ 5
You can use it multiple times. But the Sololearn code playground is rather limited and you have to give all the inputs at the same time, in separate lines of the same popup window.
29th Mar 2024, 3:07 PM
Tibor Santa
Tibor Santa - avatar
+ 2
Hi Markus You have to give each input in each new line in the popup window. You can also execute below code to understand it https://sololearn.com/compiler-playground/WhiNb9BkJUVC/?ref=app
29th Mar 2024, 3:09 PM
𝘕𝘉
𝘕𝘉 - avatar
+ 2
Tibor Santa, thanks so much. It works.
29th Mar 2024, 3:17 PM
Markus
Markus - avatar