Problem list
Log in
#r03200 · Online Judge > GoldOJ

Add One to a Float

Bronze V 1.0 s 256 MB

Read a real number $x$ and print $x + 1$ using Python's default float formatting (i.e. print(float(x) + 1)).

Input

One real number $x$ ($-10^6 \le x \le 10^6$).

Output

Print $x + 1$ in Python's default float format.

Example 1

Input
1.5
Output
2.5
Source
Online Judge > GoldOJ
Appears in
Not part of a ladder, contest or set yet.
Accepted 1 Submissions 4 Acceptance 100% Solvers 1

Discussion

Threads about this problem. Spoilers are collapsed; wrap hints in ||double bars||.

No discussion yet. Start a thread if something here needs explaining.

Recent submissions Open with filters
Code