Create a python script named

Assignment Help Basic Computer Science
Reference no: EM131480449

Using the IDLE development environment, create a Python script named tryme3.py . Write a function in this file called nine_lines that uses a function called three_lines to print nine blank lines. Now add a function named clear_screen that prints out twenty-five blank lines. The last line of your program should call the function to clear_screen .

The function three_lines and new_line are defined below so that you can see a nested function call.

def new_line():

print()

def three_lines():

new_line()

new_line()

new_line()

Submit your Python script file in the posting of your assignment. Your Python script should be either a .txt file or a .py file. You must execute your script and copy and paste the output produced into a document that you will submit along with your python script. It is very helpful if you print a placeholder between the printing of 9 lines and the printing of 25 lines. It will make your output easier to read for the assessor. A placeholder can be a comment such as ânow printing 9 linesâ or ânow printing 25 linesâ.

You can submit the document as a Word 2003, or OpenOffice document. Open Office documents should be saved using with Word format and NOT the default format used by OpenOffice writer. (the file extension will be .doc.)

Don't forget to use comments in your script file to make the script more readable.

Reference no: EM131480449

Questions Cloud

What you consider to be the most significant regulations : Create a PowerPoint presentation that outlines what you consider to be the most significant regulations and policies that have had the impact on air.
Estimate an ordinal logit model based on the given data : Table (available on the companion website) gives data on a random sample of 40 adults about their mental health, classified as well, mild symptom formation.
Create a personal and professional plan : Create a personal and professional plan using the 'Developing: Goal Setting and Action Planning' form, which can be found in Unit 27 on the VLE.
Suggest an improvement could be made : Please discuss here the learning outcomes of this course and highlight some areas where you suggest an improvement could be made.
Create a python script named : Using the IDLE development environment, create a Python script named tryme3.py . Write a function in this file called nine_lines.
How realistic is it to expect health care workers to model : How realistic is it to expect health care workers to model mental, physical, and spiritual health?
Evaluate the project managers leadership marketing : Project communication to stakeholders. Evaluate the project manager's leadership and application of marketing, human resources and technology.
Interpret model and compare it with proportional odds model : In the illustrative example (warmth category), the assumptions of the proportional odds model is not tenable. As an alternative, estimate a multinomial logit.
What type of anemia does ms a most likely have : considering the circumstances and the preliminary workup, what type of anemia does Ms. A most likely have?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Find the marginal cost

Business The controller for an electronics company has used the production figures for the last few months to determine that the function c(x) = -9x5 + 135x3 + 10,000 approximates the cost of producing x thousands of one of their products.

  For combat orientated classes/professions

Each class should weight each attribute from most to least important. In Method IX, the most important attribute rolls 9d6 and keeps the highest 3. The second most important rolls 8d6, keeping the highest 3. This follows in this pattern of 7d6, th..

  How much total time has the sender lost

the sender waits for the ACK from the retransmitted lost packet before sliding the window forward again?

  What area of network management is involved here

A network manager decides to replace the old router that connects the organization to the Internet with a more powerful one. What area of network management is involved here?

  Why the megatrend of demographics may impact

Speculate as to why the megatrend of demographics may impact the development of IT products worldwide, especially in countries with aging populations

  It professional to support database reporting functionality

Suppose you have been hired as an IT professional to support database reporting functionality for a Human Resources system. Compose at least two aggregate function queries that can be useful for the executives of the organization to extract summa..

  Sources to a statistical multiplexer that transmits

Question 1 Suppose that packets arrive from various sources to a statistical multiplexer that transmits the packets over a 64 kbps PPP link. Suppose that the PPP frames have lengths that follow an exponential distribution with mean 1000 bytes and ..

  What are some questions that you might want to ask in return

A management application vendor boasts about the scale of its management system, claiming that it can support 10 million managed objects. What are some questions that you might want to ask in return

  Write a program segment that initializes memory locations

Write a program segment that initializes memory locations $0000 and $0001 with $12 and $10 using assembler directives.

  Performance of female entrepreneurs

Read the research study "The performance of female entrepreneurs: Credit, Training and the Moderating Effect of Attitude towards Risk-Taking," which is required reading for this module.

  How long does it take for the counter to wrap around

To make the initial sequence number a random number, most systems start the counter at 1 during bootstrap and increment the counter by 64,000 every half second. How long does it take for the counter to wrap around?

  Write a program that prompts the user for an integer value

write a program that prompts the user for an integer value for a length of a youtube clip in seconds then display the number of hours , minutes and seconds within the given length.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd