+ 3

Why doesn't the Code Playground work for the questions asked?

I'm just starting my learning adventure here with Python. In the second section it teaches you about math equations. The second question asks "Which option is output by this code (4 + 8) / 2" I can do this math, it's easy but I want to learn to use python so I went to the code playground to put the equation in just for giggles. This has no output. I tried removing the spaces in between, still no output. I even tried removing the parentheses and still no output. What is going on???

11th Aug 2020, 8:16 PM
Reece Cabe
Reece Cabe - avatar
3 Answers
+ 6
This equation does have output, it returns a number, it's just that you're not using that output. Have you tried running this code: print((4 + 8) / 2)
11th Aug 2020, 8:21 PM
coddy
coddy - avatar
0
Reece Cabe I also struggled at the start with the concepts because I didn't understand the teaching format. Keep persevering, it will start to make sense.
11th Aug 2020, 11:26 PM
Rik Wittkopp
Rik Wittkopp - avatar
0
Found this, thought it might help https://code.sololearn.com/cWMtrZsvnwBv/?ref=app
11th Aug 2020, 11:31 PM
Rik Wittkopp
Rik Wittkopp - avatar