
2.) create a list of fruits with values [“orange”, “peach”, “apple”, banana”]. go through each element in the list with a for loop if the fruit is “banana”. Then print “I love banana”. If the fruit is any other fruit then print “I like that fruit
3.) create a function called “yards_to_inches” that has one argument/parameter “yard”. There are 3 inches in a yard, return the number of inches with respect to the yard argument.
Call the function and print the return value of the function
If you have any questions, please feel free to email me at nathaniel@ayclogic.com!