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

Minor changes to syntax #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Minor changes to syntax #2

wants to merge 1 commit into from

Conversation

4Kaylum
Copy link

@4Kaylum 4Kaylum commented Sep 29, 2017

Now using:

  • random.choice instead of random.randint and picking an index
  • keepRunning instead of choice, which is now a bool (to avoid conflicts with random.choice)
  • if __name__ == '__main__': to make it known that this shouldn't run when being imported (maybe someone wants to use the ideas list?)

It looks like I've deleted everything because I changed the indentation on your ideas list.

Now using:
* `random.choice` instead of `random.randint` and picking an index
* `keepRunning` instead of `choice`, which is now a bool (to avoid conflicts with random.choice)
* `if __name__ == '__main__':` to make it known that this shouldn't run when being imported (maybe someone wants to use the ideas list?)
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

Successfully merging this pull request may close these issues.

1 participant