On 08/06/17 00:56, CB wrote:
Hi everyone,
I am taking a python class and I'm stuck in an exercise.

what am i doing wrong? Can anyone try to run it? Thanks so much!

It helps if you describe what is going wrong. Not just us, either; "Teddy Bear Debugging", explaining to a colleague (or indeed a soft toy) why your code cannot possibly be wrong, is an excellent way of finding bugs. The number of times I've stopped in the middle of an explanation to fix the now glaringly obvious mistake...

Try it and see. Here's a hint: be very aware of what your indentation means.

--
Rhodri James *-* Kynesim Ltd
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to