Customer Service Chat
Get quote & make Payment
how is python Using Blank Lines and Waiting for the User, Basic Computer Science
A line holds only whitespace, probably with a comment, is identified as a blank line, and Python completely avoids it.
In an interrelated interpreter session, you need to enter an empty physical line to terminate a multiline statement.
The following line of the program displays at the appointed time, Press the enter key to exit. Waits for the user till that time when key press Enter.
raw_input ("\n\press the enter key to exit.")
At this time "\n\n" is being utilized to make two new lines before displaying the real line.
One time the user presses the key, the program stops. This is a nice trick to remain a console window open awaiting the user is done with an application.
Posted Date: 5/5/2012 3:21:56 AM | Location : United States
Ask an Expert
how is python Using Blank Lines and Waiting for the User, Assignment Help, Ask Question on how is python Using Blank Lines and Waiting for the User, Get Answer, Expert's Help, how is python Using Blank Lines and Waiting for the User Discussions
Write discussion on how is python Using Blank Lines and Waiting for the User
Your posts are moderated
Write your message here..
Write a long note on computer languages, Question 1 Explain the importan...
Question 1 Explain the importance of graphics in multimedia. What are few of the tips to keep in mind while using graphics for the web? Question 2 Write a long note on co
Unix, Shell Scriptiong
Explain the universal nand and nor gates, Question 1 Describe the followin...
Question 1 Describe the following- Binary Number System b. Octal Number System Hexadecimal Number System Question 2 Describe the Canonical Logical Forms-
Primary or foreign key, QUESTION Your Library is currently offering acc...
QUESTION Your Library is currently offering access to the Internet for its subscribers on a fee paying basis. Subscribers should make a booking for each slot of one hour in adv
Numerical data , i don''t understand how to create a program using double, ...
i don''t understand how to create a program using double, int, float, short etc
Visual Basic 2012, Can someone help me write a code for force = mass * acce...
Can someone help me write a code for force = mass * acceleration.
Assignment, write an essay explaining the following: 1.Storage aspects a. D...
write an essay explaining the following: 1.Storage aspects a. Disk formatting, b.Disk boot block ,c.Bad block removal, d.Compensation.
Completeness in search - artificial intelligence, Completeness in search - ...
Completeness in search - artificial intelligence: It's also importance trying to calculate the number of solutions to a problem, and the density of those solutions amongst the
Telecommunication processors, brigde
Accounting Assignment Help
Economics Assignment Help
Finance Assignment Help
Statistics Assignment Help
Physics Assignment Help
Chemistry Assignment Help
Math Assignment Help
Biology Assignment Help
English Assignment Help
Management Assignment Help
Engineering Assignment Help
Programming Assignment Help
Computer Science Assignment Help
Why Us ?
~24x7 hrs Support
~Quality of Work
~Time on Delivery
~Privacy of Work
Human Resource Management
Literature Review Writing Help
Terms & Conditions
Copyright by ExpertsMind IT Educational Pvt. Ltd.