Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #problema 4
- 4 operatii
- x = float(input())
- y = float(input())
- print(f'{x:.2f} + {y:.2f} = {(x + y):.2f}')
- print(f'{x:.2f} - {y:.2f} = {(x - y):.2f}')
- print(f'{x:.2f} * {y:.2f} = {(x * y):.2f}')
- print(f'{x:.2f} / {y:.2f} = {(x / y):.2f}')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement