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:
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
Related questions
Question
Need help with this python program.
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 7 images
Knowledge Booster
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.Recommended textbooks for you
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning