There are currently no frequently asked questions associated with this exercise – that’s where you come in! You can contribute to this section by offering your own questions, answers, or clarifications on this exercise. Ask or answer a question by clicking reply () below.
If you’ve had an “aha” moment about the concepts, formatting, syntax, or anything else with this exercise, consider sharing those insights! Teaching others and answering their questions is one of the best ways to learn and stay sharp.
Join the Discussion. Help a fellow learner on their journey.
Ask or answer a question about this exercise by clicking reply () below!
You can also find further discussion and get answers to your questions over in Language Help.
Agree with a comment or answer? Like () to up-vote the contribution!
Exactly. The lesson might be outdated I guess. It also doesn’t make sense why they gave specific remainders and results but they don’t indicate anything particular about the answer.
the exercise is simple but I cant get the demo to work.
first, some weird things: why do we go from ‘first result’ to ‘third result’ with no second result? then sixth?
second, it’s not clear if the python is v2 or v3 and the 1/2 vs 1//2 behavior changed, so that should be made clear
when i finally looked at the solution: it was not clear to me to just type in the answer, i thought we were writing code to compute it (i was starting to think about pre-pending str( remainders) and making some loop to automate it)
you are correct in all those ways, however that is not what I was talking about.
the code prompt is some .py file, and until you test it, it’s not clear which version of python is being used in the terminal
moreover, the exercise wasn’t to actually compute the numbers, it was to just type in the values which the user is free to work out with pen and pencil (since it’s just how to write an integer in binary, no signs or decimals so far)