Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a function called draw _ pool ball that draws a pool ball. This function should take the following parameters: the color, the number that
Write a function called drawpool ball that draws a pool ball. This function should take the following parameters: the color, the number that should go on the pool ball, and the location of the center of the pool ball. The radius of the pool balls should be POOL BALL RADIUS, and the font of the number should be POOL BALLFONT. The text of the pool ball font self should be white. You may want to modify the previous exercise's drawcircle function to use here. You should be able to call your function like this: draw pool ballColororange, draw pool ballColorred, drawpoolballColorblue, draw pool ballColorgreen, Note: Be sure to Include comments for all functlons that you use or create. Result
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