0
Can anyone please help me correct this code and clearly state what is wrong?
6 Respostas
+ 12
https://code.sololearn.com/ct8wju6bOQ1j/?ref=app
+ 2
As HelloWorld fixed your code, notice a few things :
1. Indenting is critical in python. This is the price you pay for not having to use ; after every statement.
2. Sololearn is using python 3, not python 2, therefore "print" is a function, not a statement, and as such, must be called with parenthesis : print(). The way you wrote your print statements is compatible with python 2,not python 3.
BTW, most of the world still runs python 2 :-(
+ 2
I think that function names can't start on capital letters
+ 1
are u back?
0
thank you so much guys
0
"Nothing is better than a girl/woman who writes code" So keep coding.
Am sorry am yet to start learning Python.