yessica34 yessica34
  • 11-02-2022
  • Computers and Technology
contestada

10. What is the value of favorite Animal after the code below is run?
animals = [ 'dog', 'cat', 'cow', 'pig' ]
favoriteAnimal = animals[2]
[1 point]
O a. dog
O b.cat
O c. cow
O d. pig

Respuesta :

Megalaoofania
Megalaoofania Megalaoofania
  • 12-02-2022

Running the code

animals = [ 'dog', 'cat', 'cow', 'pig' ]

favoriteAnimal = animals[2]

will give a result of

"cow"

Answer Link

Otras preguntas

Who was the so-called new middle-class? What was the role of expertise and organization in this new professionalism?
An aircraft has a liftoff speed of 33 m/s. what minimum constant acceleration does this require if the aircraft is to be airborne after a take-off run of 240m?
What is an equivalent fraction for 20/12
what is the value for the expression -5+ 5
Explain how you would use a number line to find 6+(-8)
What are the natural resources in venice,italy?
three consecutive even integers have a sum of 168. what's the value of the largest integer?
three consecutive even integers have a sum of 168. what's the value of the largest integer?
Explain why a mixed number is not in the set of intergers or whole numbers
Explain the connection, or relationship between a protagonist and an antagonist.