LearnPy Hub
← Data Types & Casting problems
Medium

Read a Formatted Price

Read a price written like Tk 1,250.50. Remove Tk and the commas, convert it to a float and print twice the price with 2 decimals.

Input

One line.

Output

One number.

Sample 1

Input
Tk 1,250.50
Output
2501.00

Sample 2

Input
Tk 99
Output
198.00
solution.py
Output appears here
Read a Formatted Price · Python practice problem · LearnPy Hub