"""Exercise 5.10.4 — Converting to float

Chapter 5: Data Structures — Everyday Programming

The program should turn the text "2.5" into a float and print double it,
5.0.

This program contains exactly one bug. Solution: sol_5_10_4.py
"""

weight_text = "2.5"
weight = int(weight_text)
print(weight * 2)   # 5.0
