Python Workshops for Beginners/Saturday September 27th homework: Difference between revisions

Content added Content deleted
imported>Ynasser
imported>Ynasser
Line 28: Line 28:
>>> characters = summerChar.SummerChar
>>> characters = summerChar.SummerChar
</pre>
</pre>

Note: character names are stored in the form <NAME>, which is how their parts are represented in the script.


To access the text of the play as a list (each line is an entry in the list):
To access the text of the play as a list (each line is an entry in the list):