[Tutor] Python - RPG Combat System

Steven D'Aprano steve at pearwood.info
Sun Aug 1 05:28:44 CEST 2010


On Sun, 1 Aug 2010 10:20:31 am Alan Gauld wrote:
> "Jason MacFiggen" <jmacfiggen at gmail.com> wrote
>
> > and also, what can I do instead of writing print so many times?
>
> Learn about format strings and use triple quoted strings.

*slaps self in head*

Doh! How could I have forgotten triple quoted strings?

*slinks off in shame*


-- 
Steven D'Aprano


More information about the Tutor mailing list