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
Write a half-page summary explaining IP spoofing.

design a synchronous, recycling, MOD-12 counter with D FF''s. Use the states 0000 through 1011 in the counter.


Question 1 Discuss the usage and benefits of storyboarding Question 2 Explain the different stages of scriptwriting Question 3 Explain the 12 fundamental principle

Question 1 Briefly explain the classification of the computers Question 2 What is arithmetic logic unit? How it is helpful in CPU Question 3 How do you install a new pri

Question 1 Describe the following- Binary Number System b. Octal Number System Hexadecimal Number System   Question 2 Describe the Canonical Logical Forms-

File Sharing Architecture:   The development of microprocessor, PC and LAN transformed dumb terminals into -smart? clients. This brought a complete change in the computing env

Acting Rationally: Al Capone was finally convicted for tax evasion. Were the police acting rationally? To answer this, we must first look at how the performance of police force

Consider a class called Configuration. This class “encapsulates” the configuration management for any software system. For example, once created, the user can simply ask the config

Long term goal of artificial intelligence: This is not to be complex with the applications of AI programs to other sciences, discussed later. Rather, it is just pointing out th