I've created this code that uses the Vigenère cipher to encrypt a block of text, for some reason it's giving me this weird output
import string
original_word = raw_input("what text do you want to encrypt ?")
one_time_pad = raw_input("How do you want to encrypt ?")
word_array = list(original_word)
pad = list(one_time_pad)
i = 0
b = 0
for word in word_array:
word_array[i]= chr(ord(word) + ord(pad[b]))
print word_array
i += 1
if b == len(one_time_pad):
b = 0
else:
b += 1
cipher_text = "".join(word_array)
print cipher_text
that only gives me this weird output
['\xc2', 'b', 'c']
['\xc2', '\xc4', 'c']
['\xc2', '\xc4', '\xc6']
???
Can somebody please explain this?