Text to Number
Completed
Read a whole number and print the number that is 10 more.
Input
One integer n.
Output
n + 10.
Example
Input
5
Output
15
Editor
Python
Hints
input() always returns text (a str).
Convert with int() before doing maths.
Solution explanation
input() returns a string, and "5" + 10 is an error. int() converts the text to a number.
Show solution
n = int(input())
print(n + 10)