ch=raw_input("Please type in one character")
print "The Character you just entered is: ", ch
ch1=raw_input("Please type in first character")
ch2=raw_input("Please type in second character")
print "The first character you just entered is: ",ch1
print "The second character you just entered is: ",ch2
ch=65
print "The character that has numeric value of 65 is:",chr(ch)
print chr(65)
print chr(10)
print chr(66)
print chr(10)
print chr(67)
print chr(10)
print "Hex(uppercase) Hex(lowercase) Decimal"
print "{:01X} {:01x} {:d}".format(0,0,0)
print "{:01X} {:01x} {:d}".format(1,1,1)
print "{:01X} {:01x} {:d}".format(2,2,2)
print "{:01X} {:01x} {:d}".format(3,3,3)
print "{:01X} {:01x} {:d}".format(4,4,4)
print "{:01X} {:01x} {:d}".format(5,5,5)
print "{:01X} {:01x} {:d}".format(6,6,6)
print "{:01X} {:01x} {:d}".format(7,7,7)
print "{:01X} {:01x} {:d}".format(8,8,8)
print "{:01X} {:01x} {:d}".format(9,9,9)
print "{:01X} {:01x} {:d}".format(10,10,10)
print "{:01X} {:01x} {:d}".format(11,11,11)
print "{:01X} {:01x} {:d}".format(12,12,12)
print "{:01X} {:01x} {:d}".format(13,13,13)
print "{:01X} {:01x} {:d}".format(14,14,14)
print "{:01X} {:01x} {:d}".format(15,15,15)
num1=12
num2=12345
print num1
print num2
print "{:5d}".format(num1)
print "{:05d}".format(num1)
print "{:2d}".format(num2)
num1=1
num2=12
num3=123
num4=1234
num5=12345
print "{:8d}{:-8d}".format(num1,num1)
print "{:8d}{:-8d}".format(num2,num2)
print "{:8d}{:-8d}".format(num3,num3)
print "{:8d}{:-8d}".format(num4,num4)
print "{:8d}{:-8d}".format(num5,num5)
int_num=123
flt_num=123.456789
print "Default integer format: ",int_num
print "With Precision Specifier: ",format(int_num,'08d')
print "Default float format: ",flt_num
print "With Precision Specifier: ",format(flt_num,'6.2f')