kamal196

96% OFF Ivacy VPN: Lifetime Subscription + NAT Firewall

Nov 27th, 2019
393
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. Unblock Content, Stream at Blazing Speeds & Shut Down Hackers with This VPN/Firewall Combo
  2. *********************
  3. Download
  4. ********************
  5. http://bit.ly/2snuaFm
  6. ********************
  7.  
  8. from animal import animal
  9.  
  10. def menu():
  11. return int(input("""
  12. 1 -> Add Animal
  13. 2 -> Delete Animal
  14. 3 -> Display Animals Info
  15. 4 -> Exit
  16. """))
  17.  
  18. def add_animal(animals):
  19. info = ["Animal name: ",
  20. "Animal species: ",
  21. "Animal color: ",
  22. "Animal year of birth: "]
  23.  
  24. #Asks for all the input and adds it to the beginning of the list
  25. return [animal(*list(map(input, info))), *animals]
  26.  
  27. def del_animal(animals):
Add Comment
Please, Sign In to add comment