0

Is there a different print command in sololearn's code arena and the original Python 3's arena ?

I am attaching a piece of code in here. In the sololearn platform, this piece of code works well, but as u move on to the actual Python app, the final print line gives an error as it says invalid syntax. Do check in ur laptop or desktop and please help me out how to print that final line. https://code.sololearn.com/c3b5g3O8J1dT/?ref=app

21st Oct 2017, 6:23 AM
Sanjeev Kumar
Sanjeev Kumar - avatar
13 ответов
0
But in the compiler in laptop, there is an error occuring for executing the last code of print @sayan_chandra
21st Oct 2017, 7:26 AM
Sanjeev Kumar
Sanjeev Kumar - avatar
0
Python 3.6, and for printing that final line, it says invalid syntax
21st Oct 2017, 7:29 AM
Sanjeev Kumar
Sanjeev Kumar - avatar
0
it's black background
21st Oct 2017, 7:34 AM
Sanjeev Kumar
Sanjeev Kumar - avatar
0
in the Python 3.6 compiler itself
21st Oct 2017, 7:37 AM
Sanjeev Kumar
Sanjeev Kumar - avatar
0
it's saying Python 3.6 (64 bit) only
21st Oct 2017, 7:40 AM
Sanjeev Kumar
Sanjeev Kumar - avatar
0
>>> is an auto generated sign in Python, so no need of putting up
21st Oct 2017, 8:24 AM
Sanjeev Kumar
Sanjeev Kumar - avatar
0
U chk that piece of code which I gave in the Python 3 compiler, u will get an error message
21st Oct 2017, 8:25 AM
Sanjeev Kumar
Sanjeev Kumar - avatar
- 1
evrything in the code is fine.... why it would give error???? and theres no actual or fake compiler for python... its all original....brother...
21st Oct 2017, 7:22 AM
sayan chandra
sayan chandra - avatar
- 1
whats it saying??? syntax error???? but its not possible... this code is simple and fine... what compiler u r using brother??
21st Oct 2017, 7:28 AM
sayan chandra
sayan chandra - avatar
- 1
python 3.6 that ok... so are u writing the code in python IDLE...?? (white background screen) or you are using any IDE...like...pycharm
21st Oct 2017, 7:33 AM
sayan chandra
sayan chandra - avatar
- 1
whats the name of the ide?? where are you writing... the name of the window...??
21st Oct 2017, 7:36 AM
sayan chandra
sayan chandra - avatar
- 1
there is a name of the window... see and tell...
21st Oct 2017, 7:38 AM
sayan chandra
sayan chandra - avatar
- 1
write the whole code... again but using >>> write what exactly showing in the compiler... whole first to last... using >>>
21st Oct 2017, 7:44 AM
sayan chandra
sayan chandra - avatar