New variable?
tmallen
thomasmallen at gmail.com
Tue Jun 3 15:16:47 EDT 2008
On Jun 3, 3:03 pm, Chris <cwi... at gmail.com> wrote:
> On Jun 3, 8:40 pm, tmallen <thomasmal... at gmail.com> wrote:
>
> > What's the proper way to instantiate a new variable? x = ""?
>
> You don't need to pre-declare your variables. Just assign them as you
> need them and they will take the correct type.
unless I'm using the += or a similar operator, right? That doesn't
seem to instantiate a variable.
More information about the Python-list
mailing list