[pydotorg-www] Creating an account for Python Wiki
Chris Angelico
rosuav at gmail.com
Tue Oct 4 08:00:52 EDT 2022
On Tue, 4 Oct 2022 at 22:43, Justin Fox <justinf at candlefox.com> wrote:
>
> Access looks to be all good - the only issue is that in all honesty, I don't know the answer to x = 2; x /= 2; x == !
>
> Can I get the answer for it please and then that should be everything
>
Try it in a Python interpreter; you should find that, when you halve
two, you get one. (I'm not sure whether that question was designed for
Python 2, where you'd get the integer 1, or Python 3, where you'd get
the float 1.0; but they should both be equal anyway.)
Glad it's working!
ChrisA
More information about the pydotorg-www
mailing list