Answer to Question #29985 in Python for zvidzayi
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.
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.
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%
Submit it with all requirements as an assignment to our control panel and we'll assist you.
Need a fast expert's response?Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!