Kasante95

func step2

Mar 27th, 2023
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | None | 0 0
  1. def fruit_score(fruit):
  2.     if fruit == "apple":
  3.         print(10)
  4.     elif fruit == "orange":
  5.         print(5)
  6.  
  7. fruit_score("apple")
  8. fruit_score("orange")
Advertisement
Add Comment
Please, Sign In to add comment