Guest User

Untitled

a guest
Jan 21st, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. #!/usr/bin/env python
  2.  
  3. class pipitu(Person):
  4.  
  5. def is_student(self):
  6. return True
  7.  
  8. def __init__(self):
  9. self.Tools = { "OS" : "ArchLinux" ,
  10. "Window Manager" : "Awesome",
  11. "CLI" : "rxvt-unicode",
  12. "Editor" : "Vim" }
  13.  
  14. self.Languages = [ "Java", "C", "Python" ]
  15.  
  16. self.Mobile = "Nexus One"
  17.  
  18. def get_school(self, year):
  19. if year > 2005.9 and year < 2009.7:
  20. return "Nanjing University"
  21. elif year > 2009.9 and year < 2012.7:
  22. return "Tsinghua University"
  23. return None
  24.  
  25. def get_email(self):
  26. return "pipituliuliu (at) gmail [dot] com"
Add Comment
Please, Sign In to add comment