Indenting Code
Python functions have no explicit begin
or end
, and no curly braces to mark where the function code starts and stops. The only delimiter is a colon (:) and the indentation of the code itself.
Create a free account to view this lesson.
By signing up, you agree to Educative's Terms of Service and Privacy Policy