mirror of
https://codeberg.org/andyscott/exercism.git
synced 2024-11-14 07:10:48 -05:00
26 lines
No EOL
1 KiB
Markdown
26 lines
No EOL
1 KiB
Markdown
# Hints
|
|
|
|
## General
|
|
|
|
- For an overview, this section of the Python documentation: [Truth Value Testing][stdlib-bools] might help.
|
|
- Don't worry about how the arguments are _derived_, focus on combining the arguments to return the intended result.
|
|
|
|
## 1. Define if Pac-Man can eat a ghost
|
|
|
|
- You can use the [Boolean][boolean] [operators][Boolean-operators] to combine arguments for a result.
|
|
|
|
## 2. Define if Pac-Man scores
|
|
|
|
- You can use the [Boolean][boolean] [operators][Boolean-operators] to combine arguments for a result.
|
|
|
|
## 3. Define if Pac-Man loses
|
|
|
|
- You can use the [boolean][Boolean] [operators][Boolean-operators] to combine arguments for a result.
|
|
|
|
## 4. Define if Pac-Man wins
|
|
|
|
- You can use the [Boolean][boolean] [operators][Boolean-operators] to combine arguments for a result.
|
|
|
|
[Boolean-operators]: https://docs.python.org/3/library/stdtypes.html#boolean-operations-and-or-not
|
|
[boolean]: https://docs.python.org/3/library/stdtypes.html#truth
|
|
[stdlib-bools]: https://docs.python.org/3/library/stdtypes.html#truth-value-testing |