AlgoBazaAlgoBaza
Back to tasks

The sum of prices

Beginner

Python for kids 路 Lesson 16: Changing types: str(), int(), float()

Problem Statement

The prices "1.5" and "2.5" are text. Turn both into numbers with float() and print their sum.

4.0
Output Format

Exactly the text from the example.

Examples
Example 1

Output

4.0