vegasviman vegasviman
  • 02-04-2022
  • Computers and Technology
contestada

How could the following line of code be shortened?

average = average + 1

Group of answer choices:

1.average + a

2.average += 1

3.average = + 1

4.average = 1 + average

Respuesta :

markmeadows67
markmeadows67 markmeadows67
  • 02-04-2022

Answer:

2

Explanation:

The second option is the only one that will work. The last would work but doesn't make the code any shorter.

Answer Link

Otras preguntas

One-year-old sydney cries when his father hands him to an unfamiliar babysitter and leaves the room. Sydney’s reaction is a result of his acquisition of
Find the mean of the following numbers: 12 1 10 9 3 4 9 7 9
9 Janelle ran 26. 23 miles in 4. 3 hours. How many miles did Janelle run per hour? A 5. 11 miles B 6. 1 miles C 21. 93 miles D 1. 13 miles
should Eisenhower have fought with the germans first why or why not?
Why is evolution considered a theory
PLSSS HELP IF YOU TURLY KNOW THISS
Which of the following best describes what "this great defense program" refers to? A) Improving arguments against war B) Improving arguments favor of free speec
50 points Hey y’all I really need help with these Life of Pi questions. 1. Which story is more believable: the story with the animals or the story without the
For this assignment, you will follow detailed instructions to format an Excel worksheet demonstrating your knowledge of how to manage nested and date functions.
how to say "your dog is very beautiful" in german​