Walter,

Would you be kind enough to translate this code to the new syntax?

>>> s = 'python'
>>> n = 12
>>> f = 1.333333333
>>> '%s %05d %0.2f' %(s,n,f)
'python 00012 1.33'

i want to see how casting is handled. Thanks
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to