blob: 1b14770ae3379c9a6611bf275fa0e0dbb59cdf6f (
plain)
1
2
3
4
5
6
|
def correct_fruits(fruits):
if len(fruits) > 1 and "apple" in fruits and "orange" in fruits:
count = fruits["orange"]
if count % 2 and "kiwi" in fruits and count == 2:
return True
return False
|