amandy3430 amandy3430
  • 25-01-2020
  • Engineering
contestada

Write Python expressions using s1, s2, and s3 and operators and * that evaluate to: (a) 'ant bat cod'

Respuesta :

victoradenuga04 victoradenuga04
  • 25-01-2020

Given that the correct question is

Write Python expressions using s1, s2, and s3 and operators + and * that evaluate to: (a) 'ant bat cod'

Answer:

s1 = 'ant'

s2 ='bat'

s3 ='cod'

#using string concatenation

s4 = s1 + ' ' + s2 +  ' ' +s3

print(s4)

Answer Link

Otras preguntas

Describe the process of sexual reproduction in sponges.
when you see general patterns of society in the lives of individuals, you are are A) doing internet research B) sharing your personal opinions C) using the soci
What resulted from the advances in transportation and industry that occurred in America between the end of the Civil War and 1900?
what is the major function of the circalatory system
what do Animal cells must take inand let out​
(32)4 = A) 36 B) 38 C) 96 D) 98
will the ends of your dyed hair go away
What is the first quartile of the box-and-whisker plot?
What gave the Patriots a military advantage over the British during the Revolutionary War?
what is genetic code​