Question: Intro python course. Any help greatly appreciated Problem 11 Part A: (12 points) Write a function named parallellines(). The function parallelLines() takes three parameters: 1.

Intro python course. Any help greatly appreciated

Intro python course. Any help greatly appreciated Problem 11 Part A: (12

Problem 11 Part A: (12 points) Write a function named parallellines(). The function parallelLines() takes three parameters: 1. a turtle, t 2. an integer, numLines, that is the number of parallel lines to draw 3. an integer, lineLength, that is the length of each line The function parallelLines) should use the turtle t to draw the lines specified by the parameters numLines and lineLength. The space between parallel lines should be 25. You should not make any assumption about the state of the pen that is passed as a parameter, and there is no specification concerning the state of the pen when the function terminates. For example, if numLines = 5 and LineLength = 100, the following is correct output Problem 11 Part B: (8 points) Write code that calls parallelLines), using the parameters in the example in part A. (Hint: before calling the function, you must import the turtle module and create a turtle.)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!