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

The cost of building and maintaining an organizational computing ecosystem has become a bigger part of most organizations’ budgets. Organizations have been looking for ways to redu

Computer: People call a lot of things, computers. Some of them are cheap, but can only process numerical information. Such devices would better be described as 'calculators' r

Python allows single (''), double (") and triple ('''''' or """) quotes to indicate string literals, as long as the similar type of quote starts and ends the string. The triple quo

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?

can you help me convert binary into decimals?

Disaccharide Sugars: Disaccharide - Carbohydrate made up of two monosaccharides (a sugar dimer) Condensation reaction between 2 monosaccharides Linkage between

Satellite Transmission: Satellites use microwave frequencies and techniques. Satellites used for message transmission (as opposed to those, which travel around the earth on st

tellme the types of pipelining

IDA* Search-Artificial intelligence: A* search is a sophisticated and successful search strategy. yet, a problem with A* search is that it might  keep every states in its memor