TypeError: can only concatenate str (not “int”) to str Python 3.7.1
0
#This is a comment. print("Hello,My name is Shuaib Aliyu") result = '' message = '' choice = '' while choice !=0: choice = input("nDo you want to encrypt or decrypt the message?nEnter 1 to encrypt, 2 to decrypt and 0 to exit the program. ") if choice == '1': message = input("nEnter message for encryption ") for i in range(0, len(message)): result = result + chr(ord(message[i]) - 2) print(result + 'nn') result = '' if choice == '2': message = input("nEnter the message to decreypt: ") for i in range(0, len(message)): result = result + chr(o...