Re: Help with my 8-year old son's first program. I'm stuck!

2014-01-25 Thread justinpmullins
Thanks Peter, that did the trick. You've got here a very happy 8-year old and a mighty relieved 46-year old!! On Saturday, January 25, 2014 10:41:20 AM UTC, Peter Otten wrote: > justinpmull...@gmail.com wrote: > > > > > My son is learning Python and I know nothing about computers. > > > He's

Re: Help with my 8-year old son's first program. I'm stuck!

2014-01-25 Thread justinpmullins
PS: At the first statement, we've also tried op == "d": But that doesn't work either. On Saturday, January 25, 2014 10:02:15 AM UTC, justinp...@gmail.com wrote: > My son is learning Python and I know nothing about computers. > > He's written a simple calculator program that doesn't work. F

Help with my 8-year old son's first program. I'm stuck!

2014-01-25 Thread justinpmullins
My son is learning Python and I know nothing about computers. He's written a simple calculator program that doesn't work. For the life of me, I can't see why. Any help gratefully received. Here's his code: def a(): import sys print("welcome to the calculation") print("ple