LearnPy Hub
← Operators problems
Easy

Order of Operations

Read x and print the value of 3 + 4 × x² − 10 ÷ 2 (use / for the division).

Input

One integer.

Output

The result.

Sample 1

Input
2
Output
14.0

Sample 2

Input
0
Output
-2.0
solution.py
Output appears here
Order of Operations · Python practice problem · LearnPy Hub