Lab assignment requirement: Lab 7 - Olympic Rings Your assignment is to write python program to draw a graph using python turtle similar to the Olympic graph one below: 1. Draw a USA flag (use the code I provided, but you MUST change the code I provided to a function draw_USA_flag() and save the function to another python program name such as draw_USA_flag.py. This file must be saved in the same folder/directory where you have this lab python program is at. Then you can import draw_USA_flag.py in your main python program for this lab (import draw_USA_flag). 2. Write "USA OLYMPIC TEAM" on the top of the page. 3. Place a USA map as the background of the screen (use the usa.png file I provided). Use turtle.bgpic() function. 4. Draw Olympic Rings (5 rings) using function (you need create a function that draws the ring) to draw each ring. So you need to call the draw ring function 5 times to draw each of the five Olympic rings. Each ring must be blue, yellow, black, green, and red which is official Olympic ring colors. 5. Place your name (similar to print_me_first) at the right hand side bottom of the screen. You MUST add program name as part of the print_me_first function using argument variable. 6. In your lab python program, you should have saved the draw USA flag to draw_USA_flag.py file in the same folder/directory where your this lab python program is at. You should save print me to print_me_first.py file. you should import the following python modules/programs: import turtle import draw_USA_flag import print_me_first 7. You program should output simple to below:

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter7: Arrays
Section7.5: Case Studies
Problem 3E
icon
Related questions
Question

Need help with this python program.

USA
OLYMPIC TEAM
e
The USA flag must be drawn by calling a python function (you need to modify the code
provided) to draw the USA flag.
Name
Program
Current Time
Sha
olympic rings py
: 2021-07-12 15:27:30
You need to write a function drawCircle(x, y, color) which will draws a circle which takes
coordinates x position, y position and the color of the circle. All five rings must be drawn using
the drawCircule function.
You need to call drawCircle(x, y, color) for each of the 5 rings so the Olympic ring will be draw at
right coordinates with correct ring color similar to the 5 Olympic rings above. The text "USA
OLYMPIC TEAM" must be "Helvetica", font-size is 60, bold and color is blue.
Your program needs to have print_me_first() function similar to all previous lab, but print it out
at the bottom of the screen on the right hand side below the ring similar to the screen output I
have provided.
Transcribed Image Text:USA OLYMPIC TEAM e The USA flag must be drawn by calling a python function (you need to modify the code provided) to draw the USA flag. Name Program Current Time Sha olympic rings py : 2021-07-12 15:27:30 You need to write a function drawCircle(x, y, color) which will draws a circle which takes coordinates x position, y position and the color of the circle. All five rings must be drawn using the drawCircule function. You need to call drawCircle(x, y, color) for each of the 5 rings so the Olympic ring will be draw at right coordinates with correct ring color similar to the 5 Olympic rings above. The text "USA OLYMPIC TEAM" must be "Helvetica", font-size is 60, bold and color is blue. Your program needs to have print_me_first() function similar to all previous lab, but print it out at the bottom of the screen on the right hand side below the ring similar to the screen output I have provided.
Lab assignment requirement: Lab 7 - Olympic Rings
Your assignment is to write python program to draw a graph using python turtle similar to the
Olympic graph one below:
1. Draw a USA flag (use the code I provided, but you MUST change the code I
provided to a function draw_USA_flag() and save the function to another
python program name such as draw_USA_flag.py. This file must be saved in the
same folder/directory where you have this lab python program is at. Then you
can import draw_USA_flag.py in your main python program for this lab (import
draw_USA_flag).
2. Write "USA OLYMPIC TEAM" on the top of the page.
3.
Place a USA map as the background of the screen (use the usa.png file I
provided). Use turtle.bgpic() function.
4.
Draw Olympic Rings (5 rings) using function (you need create a function that
draws the ring) to draw each ring. So you need to call the draw ring function 5
times to draw each of the five Olympic rings. Each ring must be blue, yellow,
black, green, and red which is official Olympic ring colors.
5. Place your name (similar to print_me_first) at the right hand side bottom of the
screen. You MUST add program name as part of the print_me_first function
using argument variable.
6. In your lab python program, you should have saved the draw USA flag to
draw_USA_flag.py file in the same folder/directory where your this lab python
program is at. You should save print me to print_me_first.py file. you should
import the following python modules/programs:
import turtle
import draw_USA_flag
import print_me_first
7. You program should output simple to below:
Transcribed Image Text:Lab assignment requirement: Lab 7 - Olympic Rings Your assignment is to write python program to draw a graph using python turtle similar to the Olympic graph one below: 1. Draw a USA flag (use the code I provided, but you MUST change the code I provided to a function draw_USA_flag() and save the function to another python program name such as draw_USA_flag.py. This file must be saved in the same folder/directory where you have this lab python program is at. Then you can import draw_USA_flag.py in your main python program for this lab (import draw_USA_flag). 2. Write "USA OLYMPIC TEAM" on the top of the page. 3. Place a USA map as the background of the screen (use the usa.png file I provided). Use turtle.bgpic() function. 4. Draw Olympic Rings (5 rings) using function (you need create a function that draws the ring) to draw each ring. So you need to call the draw ring function 5 times to draw each of the five Olympic rings. Each ring must be blue, yellow, black, green, and red which is official Olympic ring colors. 5. Place your name (similar to print_me_first) at the right hand side bottom of the screen. You MUST add program name as part of the print_me_first function using argument variable. 6. In your lab python program, you should have saved the draw USA flag to draw_USA_flag.py file in the same folder/directory where your this lab python program is at. You should save print me to print_me_first.py file. you should import the following python modules/programs: import turtle import draw_USA_flag import print_me_first 7. You program should output simple to below:
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 7 images

Blurred answer
Knowledge Booster
Linked List Representation
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning