jin=2shu=16jieguo=[]while shu>0: k=shu%2 jieguo.append(str(k)) shu=shu//jinprint(jieguo)
Standard input is empty
['0', '0', '0', '0', '1']
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!