I read all text from sololearn and also practice its samples. But when do practice on pycharm some codes not run. | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

I read all text from sololearn and also practice its samples. But when do practice on pycharm some codes not run.

print(' hello world ') runs but 2+3 do not runs

10th Jun 2018, 9:56 AM
Gurpanthpreet Singh Khalsa
Gurpanthpreet Singh Khalsa - avatar
3 Réponses
+ 5
Gurpanthpreet Singh Khalsa you cannot just type: >> 2+3 in any python console and expect an output. you need a method() like.. >>print(2+3)
10th Jun 2018, 10:32 AM
᠌᠌Brains[Abidemi]
᠌᠌Brains[Abidemi] - avatar
+ 4
Gurpanthpreet Singh Khalsa Do you have installed python on your computer?
10th Jun 2018, 10:16 AM
Akash Pal
Akash Pal - avatar
+ 2
You need to install python on your computer Also, in some cases the version makes a difference . python --version
10th Jun 2018, 11:47 AM
ifl
ifl - avatar