Question: This is puthon. Can someone explain those two to me please. Thank you. Question 8 candyOnStick lolli lolli lolli lollipop lollipop wordList candyonStick . split('i')

This is puthon. Can someone explain those two to me please. Thank you.  This is puthon. Can someone explain those two to me please.

Question 8 candyOnStick "lolli lolli lolli lollipop lollipop wordList candyonStick . split('i') for word in wordList: if word not in d: d[word]-1 else: d[word] += 1 print (len(d)) c) 4 e) none of the above Question 9 def oldMcDonald (farm) result 0 for animal in farm: if animal [0] in farm[animal]: result += 1 return result farm-cow: moo, 'duck': quack print(oldMcDonald (farm)) cricket': chirp) a) e e) none of the above

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!