Again, here's a version that works (if yours doesn't, check the spaces in things like the emoticon strings carefully): test4.py.