Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Find out if I have money left over
- def monthly_bills(car):
- if car > 150:
- return "You have no money left,"
- else:
- return "That sucks."
- def more_bills(phone):
- if phone <= 40:
- return "Looking good on the phone."
- else:
- return "Stop talking on the phone!"
- print(more_bills(20) + " " + monthly_bills(100))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement