Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started