On 11/27/2015 12:50 PM, marcus lütolf wrote:
dear pythonistas,
thanks for your very valuable help.
I am struggling with a simple piece of code:

x = Marcus
print '{0} {1} x'.format('a', '=')

You're almost there -

print '{0} {1} {2}'.format('a', '=', x)

Emile


which gives me
a = x   instead of
a = Marcus


_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to