number = 122 number = 97 number = str(number) hundreds = int(number [0]) print hundreds