<gh_stars>0
# Accessing bit length of an integer

x = 7

print x.bit_length() 

print 8 .bit_length()

print (16).bit_length()

print 7..as_integer_ratio()

print 7.2.as_integer_ratio()


import sys

print sys.argv[0]

# Accessing bit length of an integer

x = 7

print x.bit_length() 

print 8 .bit_length()

print (16).bit_length()

print 7..as_integer_ratio()

print 7.2.as_integer_ratio()


import sys

print sys.argv[0]
# Accessing bit length of an integer