New course! Every coder should learn Generative AI!
Try a free lesson0
Code Coach SoloLearn
I would really like to work with the Code Coach on SoloLearn. But I don't get how it works. There are usually string that I have to work with. But how do I put them into my code, so I could call them in a if-statement for example?
4 Answers
+ 2
s = input()
They tell you how many inputs there are, so all you have to do is take them in that order. If for example they told you:
Frst input is for a name
Second input for an age
Then you take it like this:
name = input()
age = input()
+ 2
Tim Fussnegger No problem :), Happy New Year!
+ 1
Aymane Boukrouh thanks! That's exactly what I was looking for!🙏
+ 1
Oh back to you! Thank you very much!