Python 3 I type >>>4/2 in sololearn code playground and get 'No output.' instead of 2.0 what am doing wrong? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

Python 3 I type >>>4/2 in sololearn code playground and get 'No output.' instead of 2.0 what am doing wrong?

I thought from the course I could just type these math equations and get answers. Am I leaving some kind of syntax out?

13th Dec 2018, 2:45 PM
David Park
David Park - avatar
2 Antworten
+ 2
Sololearn playground is not a shell window. It's an editor window print(4/2)#this will work fine
13th Dec 2018, 3:12 PM
Rishi Anand
Rishi Anand - avatar
+ 1
thank you. maybe they should add that info on their course. Kind of annoying but it's free!
13th Dec 2018, 3:18 PM
David Park
David Park - avatar