I'm studying Python with Tutorials Point and I didn't understand why the % operator is used here:
print "My name is %s and weight is %d kg!" % ('Zara', 21)
I mean the one before the parenthesis. Thanks for the help!!
I'm studying Python with Tutorials Point and I didn't understand why the % operator is used here:
print "My name is %s and weight is %d kg!" % ('Zara', 21)
I mean the one before the parenthesis. Thanks for the help!!