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
Central Processing Unit Microprocessor The microprocessor is an important component in the CPU. It is the unit which processes the instructions depending on its capability


Write an alogorithm to calculate the right angled triangle

Looping Statement:  The purpose of a loop structure is to repeat certain tasks until some condition is satisfied. Several variations of a loop structure are available in each pro

Execute a command in operating system: In order to execute a command OS does the following steps:   It accepts a command from a user through mouse clicks or from t

Use the skills that you have learned in Photoshop to create the following images that could be used in your upcoming web project. All images should be cohesive and complement each

Our instructor gave us a project in making a mechanical game or simple device using assembly language, can anyone give me a an example of a project description for our proposal?

Memory unit of computer: The Memory  unit is an important component of a computer where all the data and information are stored in the form  of binary digits (combination of 0

Estimate the mean deflection of the QRS complex in each of the six standard leads (I, II, III, aVR, aVL, aVF) in Figure 1 and then estimate the mean heart vector for the normal hea

APPLICATION SOFTWARE Application Software generally is the software which is used to generate customized applications for the clients. Ex: Word Star, Lotus 1-2-3, Ms-