Question: 1 #Helping us develop this class are a team of teaching 2 #assistants, often called TAs for short. 3 # 4 #Write a function called


1 #Helping us develop this class are a team of teaching 2 #assistants, often called TAs for short. 3 # 4 #Write a function called my_TAs. The function should take as 5 #input three strings: first_TA, second_TA, and third_TA. It 6 #should return as output the string, "[first_TA], [second_TA], 7 #and [third_TA] are awesome!", with the values replacing the 8 #variable names. 9 # 10 #For example, my_TAS ("Sridevi", "Lucy", "Xu") would return 11 #the string 'Sridevi, Lucy, and Xu are awesome!" 12 # 13 #Hint: Notice that because you're returning a string instead 14 #of printing a string, you can't use the print() statement 15 # -- you'll have to create the string yourself, then return 16 #it! 17 18 19 #Write your function here! 20 21 22 #Below are some lines of code that will test your function. 23 #You can change the value of the variable(s) to test your 24 #function with different inputs. 25 # 26 #If your function works correctly, this will originally #Below are some lines of code that will test your function. #You can change the value of the variable(s) to test your #function with different inputs. # #If your function works correctly, this will originally #print: "Joshua, Jackie, and Marguerite are awesome!". test first TA "Joshua" test second TA - "Jackie" test third_TA - "Marguerite" print (my_TS (test_first_TA, test_second_TA, test_third_TA))
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
