Question: def threeFriends(): pass print('Starting threeFriends tests:')threeFriends()print() Implement a function named threeFriends(). The function will ask the user to enter the names of three friends. After

def threeFriends(): pass print('Starting threeFriends tests:')threeFriends()print()
Implement a function named threeFriends(). The function will ask the user to 

Implement a function named threeFriends(). The function will ask the user to enter the names of three friends. After the user enters the names, the function will return a list with the three names the user entered. three Friends () Please enter the names of three friends or people you know: Enter the first friend: Tony Enter the second friend: Tim Enter the third friend: Tina ['Tony', 'Tim', 'Tina'] 1-three Friends () Please enter the names of three friends or people you know: Enter the first friend: Bob Enter the second friend: Baghit Enter the third friend: Beth 1 [0] 'Bob' 1 [1] 'Baghit' 1[2] 'Beth'

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 Algorithms Questions!