Advertisement
Guest User

problem

a guest
Apr 6th, 2020
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.56 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 {3} Pokemon. The pokemon is a {4} type. It weighs {5} and it is {6} 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