it's just a string and the plus sign is tacking the other string to the end
of it. concatenating.
there are a lot of ways to concatenate strings in python.

another popular way is called "string formatting". you can find some decent
examples here:
http://www.diveintopython.net/native_data_types/formatting_strings.html

On Mon, Jun 1, 2015 at 8:52 PM, Christopher. <[email protected]>
wrote:

> You can print a loop, one thing I don't understand is the following;
> Suppose I have
>
> for j in range (0,5):
> First thing, what is the string 'j=' + str(j)) doing, I know what the
> second part of the loop is doing, converting the variable into a string or
> rather the float into a string, what is the first half of the statement
> saying ?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/1b6d806a-80e1-485e-96c5-525136bdb599%40googlegroups.com
> <https://groups.google.com/d/msgid/python_inside_maya/1b6d806a-80e1-485e-96c5-525136bdb599%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CABPXW4ixKM%2BmD4STGfz%3DniGyd4_vri_ebrC85NPG7bVNO3dPmg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to