#32278: python ans


yuxuan0912 (李毓萱Laura)

學校 : 不指定學校
編號 : 197335
來源 : [1.34.135.237]
最後登入時間 :
2023-12-07 21:47:26

k=1
while k!="0":
    k=format(int(input()),"b")
    if k!="0":print(f"The parity of {k} is {sum([int(x) for x in k])} (mod 2).")