Which of the following answers best describes the output when you run the following code?

food = ["pizza", "hamburger", "salad", "chicken fingers"]
print(random.choice(food))
Select one:

a.
The last item in the food list

b.
The first item in the food list

c.
All of the items in the food list, concatenated together

d.
One of the items in the food list, randomly selected

1 answer

d. One of the items in the food list, randomly selected
Similar Questions
  1. Which sentence best describes how blocked-based code worksLines of code make physical blocks move Each block creates printer
    1. answers icon 1 answer
  2. Which sentence best describes how block-based code works?(1 point) O Lines of code make physical blocks move O Each block
    1. answers icon 1 answer
  3. Which sentence best describes how block-based code works?(1 point) O Lines of code make physical blocks move O Each block
    1. answers icon 1 answer
    1. answers icon 0 answers
more similar questions