How could I improve this code to make it shorter and more functional?#!usr/bin/pythonimport timeinteger = 0print(The current integer is set at  + str(integer) + .)print(\n)time.sleep(2)prompt = raw_input(Would you like to change the integer? (Y/N) )print(\n)if prompt == 'y':    integer = int(raw_input(Insert the new integer here: ))    print(\n)    print(You have changed the integer to  + str(integer) + .)    print(\n)    print(\n)    time.sleep(1)    print(1. Add / 2. Subtract / 3. Multiply / 4. Divide)    print(\n)    new_int = raw_input(What would you like to do with your new integer? (Choose a number) )    print(\n)    if new_int == '1':        added_int = int(raw_input(What number would you like to add to your integer ( + str(integer) + ) by?))        outcome1 = integer + added_int        print(\n)        print(The sum of  + str(integer) +  +  + str(added_int) +  is  + str(outcome1))    if new_int == '2':        subtracted_int = int(raw_input(What number would you like to subtract your integer ( + str(integer) + ) by?))        outcome2 = integer - subtracted_int        print(\n)        print(The difference of  + str(integer) +  -  + str(subtracted_int) +  is  + str(outcome2))    if new_int == '3':        multiplied_int = int(raw_input(What number would you like to multiply your integer ( + str(integer) + ) by?))        outcome3 = integer * multiplied_int        print(\n)        print(The product of  + str(integer) +  x  + str(multiplied_int) +  is  + str(outcome3))    if new_int == '4':        divided_int = int(raw_input(What number would you like to divide your integer ( + str(integer) + ) by?))        outcome4 = integer / divided_int        print(\n)        print(The quotient of  + str(integer) +  /  + str(divided_int) +  is  + str(outcome4))elif prompt == n:    print(The integer will stay the same.)    time.sleep(2)    print(Press any key to exit...)else:    print(Invalid input.)raw_input()
Performing calculations with updated integer
python;calculator