#๐ error
25 messages ยท Page 1 of 1 (latest)
@glad nexus
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.
Hey @glad nexus!
Add a py after the three backticks.
```py
print('Hello, world!')
```
This will result in the following:
print('Hello, world!')```
and whats the error
What values did you type for x and y?
you're using //
and what is said formula
that's going to round down to an int
60 / 360 is 0.166
!e
print(60 / 360)
print(60 // 360)
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | 0.16666666666666666
002 | 0
/ is regular division
// is floor division
!e
import math
print(math.pi)
:white_check_mark: Your 3.13 eval job has completed with return code 0.
3.141592653589793
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.