[Tutor] My code isn't working properly

Sopan Shewale sopan.shewale at gmail.com
Mon Jun 20 04:25:13 EDT 2016


check it here - http://textsnip.com/6bd6jh




On Mon, Jun 20, 2016 at 1:01 AM, Alan Gauld via Tutor <tutor at python.org>
wrote:

> On 20/06/16 08:16, Minhaj Ahmed via Tutor wrote:
> > Hi,I'm studying Michael Dawsons 'Python programming for absolute
> > beginners',in chapter 5,page 129,the author writes a program that records
> > high scores in a game. I have done exactly as the author has set out and
> > yet my code isn't doing what the author says it should be doing. The code
> > is printed below.
> >
> > scores=[]
> > choice=None
> > while choice !="0":
> > print(
>
> There is a mistake in the indentation here that should give you an
> error. This means the code you have posted is not the actual code
> you are running.
>
> It may be a mail problem, in which case please resend your message
> making sure you post in plain text(not HTML) to preserve the layout.
>
> Because indentation is critical in Python we can't begin to
> guess what is wrong with your code until we see the correctly
> indented code.
>
>
> --
> Alan G
> Author of the Learn to Program web site
> http://www.alan-g.me.uk/
> http://www.amazon.com/author/alan_gauld
> Follow my photo-blog on Flickr at:
> http://www.flickr.com/photos/alangauldphotos
>
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>


More information about the Tutor mailing list