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

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!