I have a question about adding a comma to the end of a these print
statements. In the first example ( print (Blah)) with out the comma, it
prints the string? and in the second example where I added the comma (
print (Blah,) ) It turns it into a tuple? Is my observation correct here?
Blah = "the comma changes it into, a tuple!?"
print (Blah)
# result: the comma changes it into, a tuple!?
Blah = "the comma changes it into, a tuple!?"
print (Blah,)
# result: ('the comma changes it into, a tuple!?',)
--
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/a7adddae-7107-4614-8850-d7d2d6f66356%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.