[Tutor] How do I display a changing thing in text?

Hugo González Monteverde hugonz-lists at h-lab.net
Tue Nov 15 04:26:56 CET 2005


Hi Nathan,

Take a look at string interpolation in the tutorial. I don't know what 
method you're following for learning Python, but I've found the 
'official'  tutorial a great resource, even when you already know Python,

http://docs.python.org/tut/node9.html#SECTION009100000000000000000

Nathan Pinno wrote:
> How do I display a changing thing (i.e.. the score of the game) in text? 
> I think it has something to do with this key: %, but I forget how to do 
> it. Can someone show me how to do it again?
>  
> Thanks,
> Nathan Pinno
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor


More information about the Tutor mailing list