1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
kicyunya [14]
3 years ago
8

Write a program that uses key events to make a circle larger and smaller.

Computers and Technology
1 answer:
olchik [2.2K]3 years ago
8 0

Answer:

circ = Circle(100)

circ.set_position(250, 250)

circ.set_color(Color.yellow)

add(circ)

def grow_circle(event):

   if event.key == "ArrowLeft":

       circ.set_radius(circ.get_radius() - 10)

   if event.key == "ArrowRight":

       circ.set_radius(circ.get_radius() + 10)

   

add_key_down_handler(grow_circle)

Explanation:

By making it that when the left/right arrow is clicked the radius of the circle is first taking into account before anything else, then each time the arrow is clicked the current radius either gets 10 added or removed from it.    

You might be interested in
What's it called when a program is expandable?
sashaice [31]
Its called a genesis program
6 0
3 years ago
8. Suppose you've created a bulleted list, but the bullets are too close to the text. What is the best way to fix this?
Juliette [100K]

To fix a bulleted list that are too close to the text, you need to add space using the space key on your keyboard or adjust the indentation bullets on the ruler.

<h3 /><h3>How to add spacing in MS Word?</h3>

To format a bulleted list in this software, it is necessary to use the context menu by clicking with the right mouse button and displaying the List Paragraph dialog box, located in the styles panel, which makes it possible to adjust and apply the ideal spacing.

Therefore, you can use additional formatting on List Paragraph and adjust your work to your preferences.

Find out more information about MS Word here:

brainly.com/question/1538272

5 0
3 years ago
Really need help with these PLZ
snow_lady [41]

1. B joint application design

2. A it is necessary to write most of the new code manually

3. D since users have been involved in the pro typing, managers can be confident that the system can handle large numbers of users

4. B extreme programming

5. C code that is produced using OOD is easy to secure

6. A more testing is preferable to less testing

7. C object-oriented development

8. D component-based development

9. A object

10. B the code can only represent information as objects

4 0
3 years ago
In the bussiness cycle which term best fits the labeled point on the graph
andrew11 [14]
In the business cycle, the term that best fits the labeled point on the graph of Production output vs Time is Contraction
8 0
2 years ago
What is going to be the shortest, most concise restatement of information?
iVinArrow [24]
Not sure i need this too
4 0
3 years ago
Read 2 more answers
Other questions:
  • What is a main cause of a virus on a computer
    6·1 answer
  • By default, the Windows desktop displays
    6·1 answer
  • An example of a __________________ in the United States are computer hackers, whose members engage in actions that subvert autho
    11·1 answer
  • Which type of operating system is usually used in personal computers
    13·1 answer
  • Please help with my Python code - Functions
    6·1 answer
  • You started using a new Windows server three months ago. Since that time, you have found that the system slows down and crashes
    12·1 answer
  • Write a program that accepts a whole number as
    5·1 answer
  • An electronic element that stores data by changing its resistance based on the current that has passed through it (similar to RR
    5·1 answer
  • The temperature at 8 AM was 44°F and at noon it was 64°F. what was the percent of change from 8 AM to noon?
    11·1 answer
  • can i get an access code for free online? if yes, what website is it so i can get a free access code?​
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!