Advertisement
Guest User

problem

a guest
Apr 6th, 2020
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.55 KB | None | 0 0
  1. class Pokemon:
  2.     name = ''
  3.     species = ''
  4.     whatpoke = ''
  5.     height = ''
  6.     tipe = ''#this is type
  7.     weight = ''
  8.     desc_str = "{} is a {}, the {} Pokemon. The pokemon is a {} type. It weighs {} and it is {} tall".format(self.name, self.species, self.whatpoke, self.tipe, self.weight, self.height)
  9.  
  10. #grimmsnarl
  11. pokeone = Pokemon()
  12. pokeone.name = 'Peepers'
  13. pokeone.species = 'Grimmsnarl'
  14. pokeone.whatpoke = 'Bulk Up'
  15. pokeone.height = '4\'11"'
  16. pokeone.tipe = 'Dark Fairy'
  17. pokeone.weight = '136.5lbs'
  18. name2 = 'hi'
  19. print(pokeone.desc_str)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement