Week 19
By admin On May 17th, 2010This week, We’ll be finishing up what we didn’t complete from last week.
Some remarks on problems I’ve noticed some of you running into:
- For some reason, the u"☻".encode('utf-8') command doesn’t seem to work consistently for everyone’s installation of Python (some people have been getting the incorrect escape sequence). For this reason, Please make sure that you’re using the following escape sequences (if you got your program using x’s and o’s, or if you want to use x’s and o’s, feel free to do it that way):
- ☻ → xe2×98xbb
- ☺ → xe2×98xba
- □ → xe2×96xa1
- Make sure to append the newline escape sequence (n) to the output string when you reach the end of a row (i.e., when you reach the end of the x loop.
