import re greeting = "Merry Christmas" greeting_list = map(chr, [ord(i) - len(greeting) - 1 for i in greeting]) greeting_list = filter(lambda x: re.match('[a-z]|[A-Z]', x), greeting_list) # greeting_list is set(['c', 'b', 'd', 'i', 'Q', 'U', 'Y', 'X']) # the 1st 3 elements are not clear to me: c,b,d # 'i' means 'I', 'Q' means 'question', 'U' means 'you', 'Y' means 'why', 'X' means 'Christmas' # which makes the compound: 'I question you - why Christmas?'
Right?
January 20th, 2011 at 2:26 am
I am really thankful to this topic because it really gives great information ,:,
January 21st, 2011 at 11:17 pm
I suspected so.