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

Issue on Lesson 14 Practice Problem 2 #1017

Open
madkaudev opened this issue Nov 3, 2024 · 1 comment
Open

Issue on Lesson 14 Practice Problem 2 #1017

madkaudev opened this issue Nov 3, 2024 · 1 comment
Labels
content Issues with the lessons, practices, including their code examples

Comments

@madkaudev
Copy link

Issue description:
"When our robot's level is 3 or more, we want it to take a lot less damage.

Add to the take_damage() function so the following happens:

  • if the robot's level is greater than 2, reduce the damage amount by 50%

The robot is level 3. An enemy is going to attack for 10 damage. This damage should reduce to 5."

The problem asks to reduce damage when the robot is level 3 or more, but 2 lines later it is said to be level 2 or more. The answer is to check if the level is 3 or more, so this is a text issue.

@madkaudev madkaudev added the content Issues with the lessons, practices, including their code examples label Nov 3, 2024
@NathanLovato
Copy link
Contributor

It seems that the text says "greater than 2" and "3 or more", which have the same meaning. If the level has to be greater than two, then it's three or more.

Did you see a line that says "equal to 2 or more" / "is 2 or more" ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content Issues with the lessons, practices, including their code examples
Projects
None yet
Development

No branches or pull requests

2 participants