Quick actions

cmd+k|ctrl+k

Navigation

Languages

bai 3- 1

Snippet info

Language

Python

Visibility

public

Author

hccc19

Created

2016-10-23T12:32:14Z

Updated

2016-10-23T12:32:26Z

in_put = 24
s = str( bin(in_put))
index = s.rfind('1')
print(s)
print(s[index:])

# for b in range(len(s)):
#     print(s[b:])
INFO