Commit 3c9d219b by BellCodeEditor

save project

parent 6e9101ba
Showing with 11 additions and 0 deletions
a = 7
number = []
while a > 0:
number2 = a%2
a = a//2
number.append(number2)
print(number)
# while a <= 20:
# c = a%2
# a += 1
# print(c)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment