Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fuel_type = str(input())
- lt = int(input())
- if lt < 25 and fuel_type == "Diesel":
- print("Fill your tank with diesel!")
- elif lt < 25 and fuel_type == "Gas":
- print("Fill your tank with gas!")
- elif lt < 25 and fuel_type == "Gasoline":
- print("Fill your tank with gasoline!")
- elif lt >= 25 and fuel_type == "Diesel":
- print("You have enough diesel.")
- elif lt >= 25 and fuel_type == "Gas":
- print("You have enough gas.")
- elif lt >= 25 and fuel_type == "Gasoline":
- print("You have enough gasoline.")
Advertisement
Add Comment
Please, Sign In to add comment