Please help me to understand the above code
For further actions, you may consider blocking this person and/or reporting abuse
Please help me to understand the above code
For further actions, you may consider blocking this person and/or reporting abuse
femtowork Inc. -
Cristian Molina -
Aᴅᴇ </> -
Namutebi Vanessa -
Top comments (1)
First, you need to figure out the complicated parts:
I googled "python double slash" and reached this page: pythonpool.com/python-double-slash/
then you need to figure out what the print statement does.
Trying the function out, I'd say it displays the binary version of the number you used as a starting parameter:
The recursive part might throw you off as well :)
It really looks like a code golfing challenge if you ask me !