How do we include multiple loop inputs in SoloLearn? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How do we include multiple loop inputs in SoloLearn?

19th Sep 2017, 11:16 PM
Light
5 Answers
+ 14
Input may not work well with loops on Code Playground.
19th Sep 2017, 11:41 PM
Hatsy Rei
Hatsy Rei - avatar
+ 7
E.G. input("age:") input("name:") input("lool:"). In the prompt: Type: ---------------- 24 Randomity Lek -----------------
19th Sep 2017, 11:20 PM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 5
For every new input, separate by a newline character
19th Sep 2017, 11:18 PM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 3
As Hatsy said in SL inputs in loop not working well, even multiple inputs. You can try it in your computer with a Python compiler
20th Sep 2017, 12:54 AM
Daniel
Daniel - avatar
+ 2
@Hatsy if you know what you have tp do yes you can. Fot loops are easy. While loops are a bit harder but can
20th Sep 2017, 1:00 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar