Answer
One example would be:
number = int(input('Enter a number to encrypt or decrypt: '))
number = number ˆ 0x55555555
print('Result is: ' + str(number))
Work Step by Step
One example would be:
number = int(input('Enter a number to encrypt or decrypt: '))
number = number ˆ 0x55555555
print('Result is: ' + str(number))