Help me help me help me please | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Help me help me help me please

Guys I am trying to learn python 3.X but the sololearn app for this teaches how to work in 2.X . Please tell me how to change the settings to 3.X in the app.

24th Jul 2017, 9:58 AM
Isair Calhawk
Isair Calhawk - avatar
21 Answers
+ 12
It clearly says that the tutorials are for Python 3.
24th Jul 2017, 10:09 AM
Hatsy Rei
Hatsy Rei - avatar
+ 2
>>> print ("hello world") hello world This is python3 code (python3 requires parentheses, since print is a function in python3) As other people have already said, if you just keep repeating something ("it's python 2!!!11"), it will not make it true. Tell us exactly what code you're having trouble with, and we will do our best to help you!
24th Jul 2017, 10:32 AM
Bogdan Sass
Bogdan Sass - avatar
+ 1
make your code playground public
24th Jul 2017, 10:25 AM
God Usopp
God Usopp - avatar
+ 1
Because giving us the link to your playground would have been too easy on us, eh? :)
24th Jul 2017, 10:48 AM
Bogdan Sass
Bogdan Sass - avatar
+ 1
https://code.sololearn.com/camDm8Q0TiKi/?ref=app >>> print("hello world") hello world That is python3 code. However, the ">>>" are not part of the code - that is the prompt of the interactive python interpreter. So you need to remove them. Also, the second line is not part of the code - it is showing you what output you would get when running that code. Remove that as well.
24th Jul 2017, 10:51 AM
Bogdan Sass
Bogdan Sass - avatar
0
when I used the code suggested by the app it doesn't work
24th Jul 2017, 10:19 AM
Isair Calhawk
Isair Calhawk - avatar
0
there is some glitch
24th Jul 2017, 10:19 AM
Isair Calhawk
Isair Calhawk - avatar
0
it's python 3.x already. link us to the code
24th Jul 2017, 10:19 AM
God Usopp
God Usopp - avatar
0
when I went google I got to know that the code sololearn python 3 suggested was for 2.X
24th Jul 2017, 10:20 AM
Isair Calhawk
Isair Calhawk - avatar
0
>>> print ("hello world") hello world
24th Jul 2017, 10:22 AM
Isair Calhawk
Isair Calhawk - avatar
0
I've downloaded the Python 3.x IDLE from Python.org onto my computer and haven't had issues so far
24th Jul 2017, 10:22 AM
God Usopp
God Usopp - avatar
0
this is the code the app suggested
24th Jul 2017, 10:22 AM
Isair Calhawk
Isair Calhawk - avatar
0
print is in every python, you just happened to come across an article on python 2.7
24th Jul 2017, 10:23 AM
God Usopp
God Usopp - avatar
0
this is the name of the public code playground where I wrote the code 'forge'
24th Jul 2017, 10:45 AM
Isair Calhawk
Isair Calhawk - avatar
0
search the playground named 'forge' from here all prob are started
24th Jul 2017, 10:47 AM
Isair Calhawk
Isair Calhawk - avatar
0
ok thank guys I got it
24th Jul 2017, 10:54 AM
Isair Calhawk
Isair Calhawk - avatar
0
thanks*
24th Jul 2017, 10:54 AM
Isair Calhawk
Isair Calhawk - avatar
- 1
wait a sec
24th Jul 2017, 10:21 AM
Isair Calhawk
Isair Calhawk - avatar
- 1
whenever I run this code it says 'Invalid Syntax' but when I used the code print ("hello world") it worked fine
24th Jul 2017, 10:24 AM
Isair Calhawk
Isair Calhawk - avatar
- 1
oh
24th Jul 2017, 10:24 AM
Isair Calhawk
Isair Calhawk - avatar