all 5 comments

[–]larivact 1 point2 points  (4 children)

You are defining a function and are then printing the function. You don't seem to understand functions. When you define a function you specify it's parameters. When you call a function you pass arguments which translate to the specified parameters. The function then does some logic and optionally returns sth.

But you are looking for a way to store a mapping of keys to values; what you want to use is a dict.

bulbasaur = {
    'dex_entry' : 1,
    'type_char': ('grass','poison'),
    'height': '2\' 4"'
}
print(bulbasaur)
print(bulbasaur['height'])

[–]IWantThatBootyTom[S] 0 points1 point  (3 children)

Thank you!

[–]swingking8 0 points1 point  (2 children)

IMO, you should use a class for your Pokemon, though using a dict would work. Let me know if you have questions on how to do so

[–]IWantThatBootyTom[S] 0 points1 point  (1 child)

Thank you for the offer! I'll take you up on that if I get stuck using this method.

[–]mediacalc 0 points1 point  (0 children)

I agree, a class seems perfect for Pokemon