Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- record = float(input())
- meters = float(input())
- second_per_meter = float(input())
- sum = meters * second_per_meter + meters // 50 * 30
- if sum < record:
- print(f' Yes! The new record is {sum:.2f} seconds.')
- else:
- print(f'No! He was {sum - record:.2f} seconds slower.')
Add Comment
Please, Sign In to add comment