Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4
Yeah!
10th May 2020, 10:44 PM
Nikhat Shah
Nikhat Shah - avatar
+ 2
No bug
10th May 2020, 10:55 AM
Slick
Slick - avatar
+ 2
Thats just a an input call in between two empty docstrings
10th May 2020, 10:56 AM
Slick
Slick - avatar
+ 1
Multiline comment is ''' Your comment ''' with only 3 good sir
10th May 2020, 10:59 AM
Slick
Slick - avatar
+ 1
Just tried it. Now THATS a bug. Nice find. But the first example will always execute the input statement
10th May 2020, 11:06 AM
Slick
Slick - avatar
+ 1
On sololearn. Not in other coding environments. 2nd is the proper format of a multiline comment or docstring and input() will not execute
10th May 2020, 11:10 AM
Slick
Slick - avatar
+ 1
It's a bug. SoloLearn's Compilers forcefully checks all code, technically an input function will still get compiled even if it is inside a comment.
10th May 2020, 4:09 PM
Epsilon ︻╦̵̵͇̿̿̿̿╤──
Epsilon ︻╦̵̵͇̿̿̿̿╤── - avatar