Huh,
Too much unreadable code! Please use [ code ] and [ / code ] tags (without those spaces) to mark code lines, this will make it readable! You can edit your message afterwards to add them.
Go to your old message, press EDIT button at the end of the message at the left side. You will see a text box with your writing and some special wiki syntax tags. Add those [ code ] tags and save.
When in EDIT mode, there is button GO TO ADVANCED, which is a bit like the original message creation view. There you have PREVIEW button, very useful when you're not quite sure how those tags work.
Final tip: look around the other messages and when you see a nice effect (bold, italics, COLOR, code, quote, etc) just press QUOTE button and look at the wiki syntax.
Code:
def my_func(a_value):
''' Example '''
my_value = a_value
my_func(5)
Enjoy,
--jouni