Codetheprogram

This preview shows page 1 - 4 out of 6 pages.

Code the program.Use the following guidelines to code your program.1.To code the program, use the Python IDLE.2.Using comments, type a heading that includes your name, today’s date, and a short description of the program. 3.Follow the Python style conventions regarding indentation and the use of white space to improve readability.4.Use meaningful variable names. 
Example of expected output: The screen shot below is an example of a menu. Your specific results will vary depending on the choices you makeThis sample moves the turtle forward, backward, left, or right based on user input of F, BL, or R,which are the menu options. The user inputs Q to quit.Insert your program code here:# Logan McFarland# 1-03-19# More Decisionsimport turtledef drawLake(logan, c, x, y):# logan is the turtle, c is the color# Draw a Lake # move to position logan.penup() logan.setpos(x, y) 
logan.left(90)logan.pendown()# draw lake logan.color( c ) logan.begin_fill() logan.right(90) logan.circle(45) logan.end_fill()import turtledef drawIt(log, c, x, y):# log is turtle, c is the color# Draw a turtle

Upload your study docs or become a

Course Hero member to access this document

Upload your study docs or become a

Course Hero member to access this document

End of preview. Want to read all 6 pages?

Upload your study docs or become a

Course Hero member to access this document

Term
Spring
Professor
N/A
Tags
use of white space, Logan McFarland

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture