Decimal Numbers

Lab Python Beginner 10 points

Read a price (a decimal number) and print the price with 18% tax added, rounded to 2 decimal places using round().

Input

One decimal number.

Output

The price × 1.18, rounded to 2 places.

Example

Input

100

Output

118.0
Sample input available Sample output available
Editor
Python

Hints

Use float() for decimal input.

round(x, 2) rounds to 2 decimal places.

Solution explanation

float() converts text to a decimal number. round(value, 2) keeps two digits after the point (and drops trailing zeros when printed).

Show solution
price = float(input())
print(round(price * 1.18, 2))
Output
Answer
HOME LEARN COMMUNITY DASHBOARD