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:
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
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
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education