#๐ Python Homework help
9 messages ยท Page 1 of 1 (latest)
@covert sage
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
Welcome to addition quiz!
Which level? (enter 1, 2, or 3): 1
You selected level: 1
Which level? (enter 1, 2, or 3): 1
What is 1 + 3? 1
Sorry, wrong answer. Correct answer is4.
What is 2 + 5? 1
Sorry, wrong answer. Correct answer is7.
What is 0 + 2? 1
Sorry, wrong answer. Correct answer is2.
What is 1 + 5? 1
Sorry, wrong answer. Correct answer is6.
What is 2 + 9? 1
Sorry, wrong answer. Correct answer is11.
Would you like to try some more problems? Enter 0 for no, 1 for yes: 0
Thank you for playing!
Your score is 0 correct out of 25 correct.
[evaluate additionquiz.py]
Welcome to addition quiz!
Which level? (enter 1, 2, or 3): 1
You selected level: 1
Which level? (enter 1, 2, or 3): 1
What is 8 + 5? 2
Sorry, wrong answer. Correct answer is13.
What is 9 + 4? 2
Sorry, wrong answer. Correct answer is13.
What is 10 + 0? 2
Sorry, wrong answer. Correct answer is10.
What is 2 + 2? 2
Sorry, wrong answer. Correct answer is4.
What is 3 + 7? 2
Sorry, wrong answer. Correct answer is10.
Would you like to try some more problems? Enter 0 for no, 1 for yes: 0
Thank you for playing!
Your score is 1 correct out of 25 correct. its asking me twice for the level and its staying 1 out of 25 which is incorrect because i got none right and only answered 5 questions
Hey @covert sage!
```py
print('Hello, world!')
```
This will result in the following:
print('Hello, world!')```
!paste
If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.
This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.