Input, print and numbers - Learn Python 3 - Snakify

Lesson 1. Input, print and numbers

1/24. It's all about the data

Every program deals with data. It can take some data for input, and it can output something. So we should know how to input data into it and how to output.

There's the function print() to output data from a Python program.


Click "Run" to see what happens in output!

Right, it prints 15! As easy as that!
print(5 + 10)