On 19/03/2014 20:41, Marc Eymard wrote:
Hello Tutor,
Could somebody help me with below query?
Thanks
Marc
------------------------------------------------------------------------
From: marc_eym...@hotmail.com
To: tutor@python.org
Subject: Beginner - list not returning correct variable value
Date: Thu, 13 Mar 2014 16:12:28 +0000
Hello Tutor,
I am a self-taught Python script beginner and I do it from the Michael
Dawson Book.
In attached script, can somebody tell me why the values of the variables
strenght_points, health_points, wisdom_points and dexterity_points stay
at 0 value when 'printing' their value from the list attributes[] when
the 'for' loop at the bottom of the script runs.
I have commented out the script to highlight what causes me problem.
I hope this is clear enough a question.
Thanks for your help,
Marc
What was wrong with Alan Gauld's reply that was posted on the same day
as your original query?
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
---
This email is free from viruses and malware because avast! Antivirus protection
is active.
http://www.avast.com
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor