Question: Python Create the friends tuple from 7 again. Now create a variable that will hold the indexed tuple item that has Joey in it. Now
Python
Create the friends tuple from 7 again. Now create a variable that will hold the indexed tuple item that has "Joey" in it. Now create another variable that will hold ONLY the "oe" from the previous variable using string slicing. Print the last variable. (Output should say "oe")
________________________________________
here's my code so far: (please let me know if what I have is correct for the first part)
friends = ("Monica", "Joey", "Chandler") mingled = (friends[1]) print(mingled)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
