Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- """
- Data Types and Variables - Lab
- Check your code: https://judge.softuni.bg/Contests/Practice/Index/1721#4
- Video: https://www.youtube.com/watch?v=i2vHypjJkB4
- SUPyF2 D.Types and Vars Lab - 05. Pounds to Dollars
- Problem:
- Write a program that converts British pounds to US dollars formatted to 3th decimal point.
- 1 British Pound = 1.31 Dollars
- Example:
- Input: Output:
- 80 104.800
- 39 51.090
- """
- print(f"{(int(input()) * 1.31):.3f}")
Add Comment
Please, Sign In to add comment