You can use this assignment in your class!
Mastery Progress(100.0%)
i

Collections in Python Assignment

You answeredJUST NOW
Python
You passed all test cases!
STDIN
apple orange banana
Expected STDOUT
1
Your STDOUT
1
STDIN
banana banana banana
Expected STDOUT
3
Your STDOUT
3
STDIN
apple apple banana orange pear avocado banana
Expected STDOUT
2
Your STDOUT
2
STDIN
orange orange orange
Expected STDOUT
0
Your STDOUT
0
STDIN
orange banana apple banana
Expected STDOUT
2
Your STDOUT
2
STDIN
grape apple apple banana orange grape banana
Expected STDOUT
2
Your STDOUT
2
STDIN
banana banana banana banana banana banana banana
Expected STDOUT
7
Your STDOUT
7

Did you like this question?

(Voting helps us personalize your learning experience!)
imgInstructor solution
Instructor Alec KretchJAN. 18, 2021 AT 4:57 PMstarTop Answer
Python

Was this helpful?

(Voting helps us personalize your learning experience!)
imgCollections in Python Presentation (pages 3, 4)

Was this helpful?

(Voting helps us personalize your learning experience!)
Think you've got it?
  • A.
  • B.
  • C.

Was this helpful?

(Voting helps us personalize your learning experience!)

You may exit out of this review and return later without penalty.