Question
Python Turtle question Extra Credit (optional) - 5pts Create a function named side_tables based on the function poker_table that uses the same parameters but also
Python Turtle question
Extra Credit (optional) - 5pts
Create a function named side_tables based on the function poker_table that uses the same parameters but also adds a circular side table at each corner. Each side table should be symmetrical along the line from the center of the poker table to that specific corner. Each side table should touch its respective corner of the poker table but not overlap it. The side tables may all be the same size.
Notes:
Be careful NOT to save your side_tables function as poker_table; each function should be distinct.
When called, the side_tables function should create both a poker table and the side tables.
You may use the same sizing and parameter values as you did in poker_table. Just make sure everything is visible.
Hint #1: One option for creating the side tables is to use nested loops.
Hint #2: Try keeping the diameter of side tables smaller than half the length of a poker table's side.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started