[Beginer Question] I heard about python needing some sort of_VariableName_ boiler plate?
James Mills
prologic at shortcircuit.net.au
Mon Nov 1 00:50:04 EDT 2010
On Mon, Nov 1, 2010 at 1:37 PM, <bradenf at hotmail.com> wrote:
> Sorry, to clarify I heard that when you declare a variable in python you have to use some sort of standard boiler plate _variable_ however this has not been my experience using IDLE so is this even true?
Boilerplate, what boilerplate ?
To define variables, just assign a value to a name:
>>> x = 1
>>> x
1
cheers
James
--
-- James Mills
--
-- "Problems are solved by method"
More information about the Python-list
mailing list