Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List of moves doesn't show correctly #25

Open
Larwive opened this issue Jan 2, 2021 · 1 comment
Open

List of moves doesn't show correctly #25

Larwive opened this issue Jan 2, 2021 · 1 comment

Comments

@Larwive
Copy link

Larwive commented Jan 2, 2021

I want to get all the moves Bulbasaur can learn and the associated learning method but I only get those lines in the video.

I'm using Python 3.9.0 on MacOS Big Sur 11.1

Enregistrement.de.l.ecran.2021-01-02.a.14.29.19.mov
@C-Garza
Copy link
Member

C-Garza commented Jan 3, 2021

You are calling pokemon 1 and then accessing the list of moves on it, like shown in this link. You can, for example, get a list of their names by looping through and accessing move like this:

for x in list:
    print(x.move)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants