this weekend's python class assignment:
a command that takes a number (or more than one of them) and determines an expression consisting of a sum of one or more powers of 2 that equals that number.
test your code with this number:
173688133855974293135356477513031861779904976998460846059186376011869694459904
a command that takes a number (or more than one of them) and determines an expression consisting of a sum of one or more powers of 2 that equals that number.
Output:> powersoftwosum 4672
4672 = 2**12 + 2**9 + 2**6
>
test your code with this number:
173688133855974293135356477513031861779904976998460846059186376011869694459904
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.