For today's optional assignment i used the following piece of code. But i am not able to figure out how to seperate symbols and keep them as it is, please help! s = input('Enter message to be ciphered: ')
n = int(input('Enter Cipher Key: '))
if 0<=n<=1000:
cip_s = ''.join(chr(ord(char)+n) for char in s)
print(cip_s)