0

Why in the code s = i put in the code but while the test only input

While i was learning python 3.0 i was learning inputs and outputs there was a try yourself button and it shows s = input(2) while when i was making the test it was only input Thanks for any helper

22nd Dec 2019, 7:39 AM
poor man
poor man - avatar
2 ответов
0
The argument of input is only meant for output, like: input('What\'s your name? ') Like a sort of prompt string. I don't see why you should use a random number for a prompt string though. So... typo? 😉
22nd Dec 2019, 8:27 AM
HonFu
HonFu - avatar
+ 1
😂it was so random bu thank u
22nd Dec 2019, 10:16 AM
poor man
poor man - avatar