0
What does it maen by input(": ") ? I know what it is but i dont know why it should look like this!
input(": ")
2 odpowiedzi
+ 1
Assuming this is Python you're talking about, it doesn't have to look like that. You can just do input() if you wish. If you want a message to tell the user what they are supposed to input, you can add that within quotes inside the parentheses - input("Please enter a number") for example.
Note that, in SoloLearn's Code Playground, you can't prompt the user as all inputs need to be provided at the start. If you use another IDE, it will be as I described above.
0
Thanks🙏
Now I got it :)