Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type=input()
- liters=int(input())
- types=("Diesel", "Gasoline", "Gas")
- if type not in types:
- print(f"Invalid fuel!")
- quit()
- if liters>=25:
- print(f"You have enough {str.lower(type)}.")
- else:
- print(f"Fill your tank with {str.lower(type)}!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement