Bertrand-Xavier M. wrote:
> On Tuesday 25 July 2006 05:52, Eric Bishop wrote:
> > Why does this work:
> >
> > # start
> > a = 5
> >
> > print a, 'is the number'
> >
> > #end, prints out "5 is the number"
> >
> > But not this:
> >
> > # start
> >
> > a = 5
> >
> > print a 'is the number'
> >
> > #en
On Tuesday 25 July 2006 05:52, Eric Bishop wrote:
> Why does this work:
>
> # start
> a = 5
>
> print a, 'is the number'
>
> #end, prints out "5 is the number"
>
> But not this:
>
> # start
>
> a = 5
>
> print a 'is the number'
>
> #end, errors out
>
> The difference here is the comma seperating th
Why does this work:
# start
a = 5
print a, 'is the number'
#end, prints out "5 is the number"
But not this:
# start
a = 5
print a 'is the number'
#end, errors out
The difference here is the comma seperating the variable and the string literal. Is the comma some sort of concatenatio