print long() print type(long()) # integers and long integers print long(123) print long(-123) print long(456L) print long(-456L) # floating point print long(-1.1) print long(-0.9) print long(-0.1) print long(0.5) print long(0.9) print long(1.1) # string print long('10') print long(' -1234 ') print long('101',0) print long('101',2) print long('101',8) print long('101',10) print long('A',16)