72.6k views
1 vote
What will the output of the following code fragment? fruit=0

Fruits=["Apple","Banana","Grapes","Apple","Apple","Banana","apple"]

for index in Fruits: if index in fruit:

fruit[index]+=1 else:

fruit[index]=1 print(fruit) print("Len of fruit", len(fruit)​

1 Answer

2 votes

Answer 4 OPITION

Step-by-step explanation:

User AdamWhite
by
4.6k points