On Sep 24, 2012, at 3:16 PM, Aija Thompson wrote:
Hi!
So I've been working on this question for hours! And Python keeps giving me
an error saying that my syntax for BMI is wrong. I really can't understand
why.
So this is what I have so far:
w = raw_input('Please give your weight in lbs: ')
h
What doesn't work? What error message do you get? What have you done
to fix the errors? What version of Python are you using?
Stephen Haywood
Information Security Consultant
W: www.averagesecurityguy.info
T: @averagesecguy
On Sep 21, 2012, at 7:35 PM, Gina wrote:
> I don't
On Sep 21, 2012, at 6:14 AM, Dae James wrote:
How can I convert a variable name to a string ?
For example:
testVariable = 1000;
How can I get the string "testVariable" ?
Thank you~
Use a dictionary.
vars['testVariable'] = 1000
for key in vars:
print key
print vars[key]
p://en.wikipedia.org/wiki/Ramer%E2%80%93Douglas%E2%80%93Peucker_algorithm
>
>
>
--
Stephen Haywood
Information Security Consultant
CISSP, GPEN, OSCP
T: @averagesecguy
W: averagesecurityguy.info
___
Tutor maillist - Tutor@python.org
To unsub
http://learnpythonthehardway.org/book/
http://docs.python.org/tutorial/
http://www.readwriteweb.com/hack/2011/03/python-is-an-increasingly-popu.php
That should keep you busy for a while.
--
Stephen Haywood
Information Security Consultant
CISSP, GPEN, OSCP
T: @averagesecguy
W