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
how to introduce information system an in organization

Use the methods of C4.5 to design a decision tree

QUESTION (a) Draw an annotated diagram explaining how data is transmitted to web servers during a standard form submit event. (b) What in your opinion makes a bad web site?

In a certain word game a player can buy vowels and consonants. The first vowel is free; each additional vowel cost $1. The first two consonants are free; each additional constant c

Write a program that lets the user play the game Rock, Paper, Scissors against the computer. The program should work as follows: ? When the program begins, the results of the prev

Frequency and Bandwidth: Let us try to understand a little about how information is transmitted. TheĀ information may be in the form of sound (human voice, music) or it may be

advantages of file base system

Laser Printers: These printers can print a whole page at one command, offer highest quality and canĀ combine text, graphics, etc. They are generally restricted to A4 paper and

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

identify application software from the list? ms excel linux internet explorer adobe photshop sound card driver window disk manger adobe dream weaver windows file explorer