[Tutor] Second follow up
Alan Gauld
alan.gauld at btinternet.com
Tue Feb 26 16:00:44 CET 2013
On 26/02/13 14:23, Jack Little wrote:
> How would I go from one def statement to another?
Type it in.
Based on your message that's all I can suggest.
Can you explain what you mean?
What do you have in mind by a def statement?
def foo():
print 'foo'
def bar():
print 'bar'
Those are two "def statements". You can add as many
more as you like? But I suspect that's not really
what you mean?
> I am developing a text based rpg.
I don't see whether/how that makes any difference to anything.
Telling us which OS and Python version you are using and what
programming tools might help though.
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
More information about the Tutor
mailing list