pyhon''s Multi-Line Statements , Basic Computer Science

Statements in Python classically end with a new line. Python does, though, permit the use of the line continuation character (\) to denote that the line should continue. Illustration:
total = item_one + \
item_two + \
item_three
Statements controlled within the [], {}, or () brackets do not require to use the line continuation character. Illustration:
Days = [''Monday'', ''Tuesday'', ''Wednesday'',
''Thursday'', ''Friday'']

Posted Date: 5/5/2012 3:13:21 AM | Location : United States







Related Discussions:- pyhon''s Multi-Line Statements , Assignment Help, Ask Question on pyhon''s Multi-Line Statements , Get Answer, Expert's Help, pyhon''s Multi-Line Statements Discussions

Write discussion on pyhon''s Multi-Line Statements
Your posts are moderated
Related Questions
QUESTION (a) Convert each of the following expressions to prefix and postfix. (i) (A+B)*(C+D) (ii) A-B/(C*D^E) (^ denotes exponentiation) (b) The following algorithm c

For the formation of a program it is necessary to follow five steps: Design of the algorithm, stage the problem to be solved is reputable and the best solution is proposed, creatin

board coloring

Twisted pair cables comes in two appearance : Unshielded twisted pair cable : UTP : UTP cables is the most common types of telecommunication medium used today. Its frequency range


Mobile telephone networks started with analog technology. Analog cellular networks were known as first generation (1G) networks. Such networks had limited capacity, and were subjec

role of an system analyst as an innovator


Question 1 Explain the protection features of MS Access? 2 What is Query Parameter? 3 What are the steps to be taken for improving performance of Microsoft Access database? 4 W

what are slides how do you put slides on powerpoint