SlideShare uma empresa Scribd logo
1 de 1
Baixar para ler offline
4 #rite a function called my_TAs. The function should take as #input three strings: first_TA,
second TA, and third_TA. It #should return as output the string, "[first_TA], [second_TA],
#and [third_TA] are awesome!", with the values replacing the litvariable 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' 11 have to create the string
yourself, then return 16 #it! 17 #Below are some lines of code that wi11 test your function. 19
#You can change the value of the variable(s) to test your 20 #function with different inputs. 21
22 #If your function works correctly, this will originally 23 #print: "Joshua, Jackie, and
Marguerite are awesomel". 24 test_first_TA = "Joshua" 25 test_second_TA = "Jackie" 26
test_third_- T= "Marguerite" 27 print(my Ts(test first TA, test second TA, test third TA))

Mais conteúdo relacionado

Mais de parshwa991

4. Pacdomurphosis restlis from an accelerabed development of the repr.pdf
 4. Pacdomurphosis restlis from an accelerabed development of the repr.pdf 4. Pacdomurphosis restlis from an accelerabed development of the repr.pdf
4. Pacdomurphosis restlis from an accelerabed development of the repr.pdf
parshwa991
 

Mais de parshwa991 (20)

5) (5 pts) A partial deck of Uno cards has 20 red cards and 20 blue c.pdf
 5) (5 pts) A partial deck of Uno cards has 20 red cards and 20 blue c.pdf 5) (5 pts) A partial deck of Uno cards has 20 red cards and 20 blue c.pdf
5) (5 pts) A partial deck of Uno cards has 20 red cards and 20 blue c.pdf
 
4. Which blood type is the universal donor Ois the universal domor. .pdf
 4. Which blood type is the universal donor Ois the universal domor. .pdf 4. Which blood type is the universal donor Ois the universal domor. .pdf
4. Which blood type is the universal donor Ois the universal domor. .pdf
 
4.19 Refeuing la Revies Qaedion z Is an pege tok, would you deseribe .pdf
 4.19 Refeuing la Revies Qaedion z Is an pege tok, would you deseribe .pdf 4.19 Refeuing la Revies Qaedion z Is an pege tok, would you deseribe .pdf
4.19 Refeuing la Revies Qaedion z Is an pege tok, would you deseribe .pdf
 
4. Write a program that will compare two array and provide appropriat.pdf
 4. Write a program that will compare two array and provide appropriat.pdf 4. Write a program that will compare two array and provide appropriat.pdf
4. Write a program that will compare two array and provide appropriat.pdf
 
4. Understanding different policy options to correct for negativeexte.pdf
 4. Understanding different policy options to correct for negativeexte.pdf 4. Understanding different policy options to correct for negativeexte.pdf
4. Understanding different policy options to correct for negativeexte.pdf
 
4. tRNA and amino acyl tRNA synthetases (a) How many codons encode th.pdf
 4. tRNA and amino acyl tRNA synthetases (a) How many codons encode th.pdf 4. tRNA and amino acyl tRNA synthetases (a) How many codons encode th.pdf
4. tRNA and amino acyl tRNA synthetases (a) How many codons encode th.pdf
 
4. Suppose {Y1,Y2,�Yn} are independent r.v.s with YiN(+xi,2), where .pdf
 4. Suppose {Y1,Y2,�Yn} are independent r.v.s with YiN(+xi,2), where .pdf 4. Suppose {Y1,Y2,�Yn} are independent r.v.s with YiN(+xi,2), where .pdf
4. Suppose {Y1,Y2,�Yn} are independent r.v.s with YiN(+xi,2), where .pdf
 
4. Taylor invests 25 of her moncy in IBM stock, 30 in Tesla stock, .pdf
 4. Taylor invests 25 of her moncy in IBM stock, 30 in Tesla stock, .pdf 4. Taylor invests 25 of her moncy in IBM stock, 30 in Tesla stock, .pdf
4. Taylor invests 25 of her moncy in IBM stock, 30 in Tesla stock, .pdf
 
4. Panctboual conppleteness. Honus example for extra polnts. Whe sam.pdf
 4. Panctboual conppleteness. Honus example for extra polnts. Whe sam.pdf 4. Panctboual conppleteness. Honus example for extra polnts. Whe sam.pdf
4. Panctboual conppleteness. Honus example for extra polnts. Whe sam.pdf
 
4. Suppose {Y1,Y2,�Yn} are independent r.v.s with YiN(+xi,2) where x.pdf
 4. Suppose {Y1,Y2,�Yn} are independent r.v.s with YiN(+xi,2) where x.pdf 4. Suppose {Y1,Y2,�Yn} are independent r.v.s with YiN(+xi,2) where x.pdf
4. Suppose {Y1,Y2,�Yn} are independent r.v.s with YiN(+xi,2) where x.pdf
 
4. Let X1,X2,,Xn denote a random sample from Unif(0,). That is, f(x)=.pdf
 4. Let X1,X2,,Xn denote a random sample from Unif(0,). That is, f(x)=.pdf 4. Let X1,X2,,Xn denote a random sample from Unif(0,). That is, f(x)=.pdf
4. Let X1,X2,,Xn denote a random sample from Unif(0,). That is, f(x)=.pdf
 
4. Pacdomurphosis restlis from an accelerabed development of the repr.pdf
 4. Pacdomurphosis restlis from an accelerabed development of the repr.pdf 4. Pacdomurphosis restlis from an accelerabed development of the repr.pdf
4. Pacdomurphosis restlis from an accelerabed development of the repr.pdf
 
4. Insert the following production company names into the table pr.pdf
 4. Insert the following production company names into the table pr.pdf 4. Insert the following production company names into the table pr.pdf
4. Insert the following production company names into the table pr.pdf
 
4. In 2015 , Yemen had 130 people per square mile. Turkey had 100 peo.pdf
 4. In 2015 , Yemen had 130 people per square mile. Turkey had 100 peo.pdf 4. In 2015 , Yemen had 130 people per square mile. Turkey had 100 peo.pdf
4. In 2015 , Yemen had 130 people per square mile. Turkey had 100 peo.pdf
 
4. Draw the genomic content of a diploid cell 2(n)=4 (draw DNA as chr.pdf
 4. Draw the genomic content of a diploid cell 2(n)=4 (draw DNA as chr.pdf 4. Draw the genomic content of a diploid cell 2(n)=4 (draw DNA as chr.pdf
4. Draw the genomic content of a diploid cell 2(n)=4 (draw DNA as chr.pdf
 
4. Biodiversity Theme 4 Impacts on Human Health - What are some of t.pdf
 4. Biodiversity Theme 4 Impacts on Human Health - What are some of t.pdf 4. Biodiversity Theme 4 Impacts on Human Health - What are some of t.pdf
4. Biodiversity Theme 4 Impacts on Human Health - What are some of t.pdf
 
4. Elack aur is a dominant trait. Two back cats male and produon s bl.pdf
 4. Elack aur is a dominant trait. Two back cats male and produon s bl.pdf 4. Elack aur is a dominant trait. Two back cats male and produon s bl.pdf
4. Elack aur is a dominant trait. Two back cats male and produon s bl.pdf
 
4. Functional completeness. Bonss example for extra points. We smm t.pdf
 4. Functional completeness. Bonss example for extra points. We smm t.pdf 4. Functional completeness. Bonss example for extra points. We smm t.pdf
4. Functional completeness. Bonss example for extra points. We smm t.pdf
 
4. Do animals differ in how they perceive their environment Explain .pdf
 4. Do animals differ in how they perceive their environment Explain .pdf 4. Do animals differ in how they perceive their environment Explain .pdf
4. Do animals differ in how they perceive their environment Explain .pdf
 
4. (5 points) Let Y be the mean of a (random) sample of size n from a.pdf
 4. (5 points) Let Y be the mean of a (random) sample of size n from a.pdf 4. (5 points) Let Y be the mean of a (random) sample of size n from a.pdf
4. (5 points) Let Y be the mean of a (random) sample of size n from a.pdf
 

Último

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Último (20)

How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 

4 #rite a function called my_TAs. The function should take as #inpu.pdf

  • 1. 4 #rite a function called my_TAs. The function should take as #input three strings: first_TA, second TA, and third_TA. It #should return as output the string, "[first_TA], [second_TA], #and [third_TA] are awesome!", with the values replacing the litvariable 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' 11 have to create the string yourself, then return 16 #it! 17 #Below are some lines of code that wi11 test your function. 19 #You can change the value of the variable(s) to test your 20 #function with different inputs. 21 22 #If your function works correctly, this will originally 23 #print: "Joshua, Jackie, and Marguerite are awesomel". 24 test_first_TA = "Joshua" 25 test_second_TA = "Jackie" 26 test_third_- T= "Marguerite" 27 print(my Ts(test first TA, test second TA, test third TA))