I don't really know what that means but the instructions are
As long as x is greater than 0
Output x modulo 2 (remainder is either 0 or 1)
Assign x with x divided by 2
I've done that with my code but it wont stop looping
int_value = int(input())
while int_value >= 0:
q = int_value % 2
if q == 0:
print(0)
else:
print(1)
int_value = int_value // 2
Also how do you make it so that 2 diffrent outputs are on the same line? I may have totally forgot...