[Tutor] Second follow up

Mark Lawrence breamoreboy at yahoo.co.uk
Tue Feb 26 17:52:29 CET 2013


On 26/02/2013 16:01, Steven D'Aprano wrote:
> On 27/02/13 01:23, Jack Little wrote:
>> How would I go from one def statement to another? I am developing a
>> text based rpg.
>
>
> def first_function():
>      # write your code here, indented by FOUR spaces or ONE tab
>
>
> def second_function():  # NO INDENT
>      # write your code here, indented by FOUR spaces or ONE tab
>
>
> Does that help?
>
>

Get thee behind me Satan/Steven, tabs indeed :)

-- 
Cheers.

Mark Lawrence



More information about the Tutor mailing list