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