Confusion over answer in example - 2**3 + (5//2) #1
Answered
by
magitz
lee-ufl
asked this question in
Q&A: Python for AI
-
|
Hi there - I am unsure of why the answer to this example is 9. I read it as 2 to the 3rd (8) + 5 divided by 2 returning the lower integer value (2). |
Beta Was this translation helpful? Give feedback.
Answered by
magitz
May 17, 2024
Replies: 2 comments
-
|
Hi @lee-ufl, |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
magitz
-
|
The question has been updated. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Hi @lee-ufl,
Thanks for the feedback. You are correct! I've asked our staff to fix that question.
2**3=8, 5//2=2, and 8+2=10....
Thanks again!
Matt