4 Assignment
Using the IDLE development environment, create a Python script named tryme3.py . Write a function in this file called nine_lines that uses 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 be a call to clear_screen .
If you recall, the function three_lines and new_line were defined and discussed in chapter 3 of the text.
def new_line():
print
def three_lines():
new_line()
new_line()
new_line()
Submit your Python script file in the posting of your assignment. You must execute your script and copy and paste the output produced into a document that you will submit along with your python script. You can submit the document as a Word 2003, RTF, or OpenOffice document. Open Office documents should be saved using with Word or RTF format and NOT the default format used by OpenOffice writer.
Assignment rubric
Does the assignment implement new_line, three_lines, nine_lines, and clear_screen functions as well as a ‘main’ section of the program which calls the functions? 50%
Does the assignment demonstate the use of nested function calls? 25%
Does the assignment produce the appropriate output when executed? The output should be recorded in a Microsoft Word or RTF formatted document by cutting and pasting the output from the python script into the document. 25%
1
Expert's answer
2013-05-08T11:22:08-0400
Unfortunately, your question requires a lot of work and cannot be done for free. Submit it with all requirements as an assignment to our control panel and we'll assist you.
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
Leave a comment