LearnPy Hub
← Data Types & Casting problems
Easy

Add Two Decimals

Read two decimal numbers and print their sum rounded to 2 decimal places.

Input

Two numbers on separate lines.

Output

One number with 2 decimals.

Sample 1

Input
1.5
2.25
Output
3.75

Sample 2

Input
0.1
0.2
Output
0.30
solution.py
Output appears here
Add Two Decimals · Python practice problem · LearnPy Hub