[Tutor] Challenge

2009-09-22 Thread Ali Sina
Hello tutor I downloaded a guide about learning Python by Michael Dawson which has challenges at the end of each chapter. I'm a novice so I encountered a problem with this challenge: "Write a program that flips a coin 100 times and then tells you the number of heads and tails." I wrote this co

[Tutor] how to print a message backwards

2009-09-23 Thread Ali Sina
ur message: Hi. My name is Ali Sina Your message in backwards: aniS ilA si eman yM .iH ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

[Tutor] TypeError: Need Help

2009-11-19 Thread Ali Sina
>>I have Python 3.0 and I'm trying to learn from a pdf document. I followed its >>instructions >>but I've encountered a problem in its Pickling chapter. This >>is the code I've written: import pickle, shelve print('Pickling list.') variety=['sweet','hot','dill'] shape=['whole','spear','chip'] b