Creating MultiLine Statements : Line Span : Statement PYTHON TUTORIALS


PYTHON TUTORIALS » Statement » Line Span »

 

Creating MultiLine Statements


total_sum = sum_item_one + 
            sum_item_two + 
            sum_item_three


# Statements contained within the []{}, or () brackets do not need to use the line continuation character. 

week_list = ['Monday', 'Tuesday', 'Wednesday',
             'Thursday', 'Friday']



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Statement
» Line Span