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