Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CODEHS PYTHON TURTLE Write a program that asks the user for a rating from 1-10. Follow these guidelines: If the user rates between a 1

CODEHS PYTHON TURTLE
Write a program that asks the user for a rating from 1-10.
Follow these guidelines:
If the user rates between a 1 and 4, draw a red X in the middle of the canvas.
If they rate between 5 and 7, draw a yellow horizontal line in the middle of the canvas.
If they rate an 8 or above, draw a green checkmark in the middle of the canvas.
Use the variable rating to save the user input value.
Hint: Write functions to draw each mark type and then use these functions in an if-elif-else statement.
image text in transcribed
image text in transcribed
Status: Not GELADE Exercise 5.2.4: Rating points Let's Go! SULT WORLD Write a program that asks the user for a rating from 1-10. Follow these guidelines: If the user rates between a 1 and 4, draw a red X in the middle of the canvas. If they rate between 5 and 7. draw a yellow horizontal line in the middle of the canvas. If they rate an 8 or above, draw a green checkmark in the middle of the canvas Use the variable rating to save the user input value. Hint: Write functions to draw each mark type and then use these functions in an if-elif-else statement. active DCS 've alre to dral Brexel Status: Not Submitted 5.2.4: Rating Save This is what the world should look like after your program has run. X Objective Show Exercise QUICK DOCS You've already determined how to draw an X in a earlier exercise

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DB2 11 The Ultimate Database For Cloud Analytics And Mobile

Authors: John Campbell, Chris Crone, Gareth Jones, Surekha Parekh, Jay Yothers

1st Edition

1583474013, 978-1583474013

More Books

Students also viewed these Databases questions

Question

=+C&B (especially taxation) laws, regulations, and practices?

Answered: 1 week ago

Question

=+designing international assignment C&B packages.

Answered: 1 week ago