0
How to use code playground?
Whenever I do simple codes such as 1+1 or assign a number to x and y then add them, the out put says No output. What's the deal? It works on the regular windows 10 python 3.6.
5 Answers
+ 2
It's because you would need to actually enter the command for printing to the console. Simply entering values and adding them may not be understood by the computer, which is why there is no output.
Try this:
x = 5
y = 7
print(x + y)
+ 1
Well, commands and functions are basically what make up any programming language. You should try going through the tutorial on Sololearn to understand how Python works and maybe look at some codes on the code playground, just so to get a better understanding of what coding may look like.
+ 1
Yes, I just recently started learning python on here. But in real situations(for the future) am I always going to have to use commands?
+ 1
@Jaydon Mook Yeah, pretty much. It's just how the compiler understands what you're typing, so it is mandatory
0
Should I get used to always having to use commands, or does is not matter?