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

Please help me with this Please answer this correctly What is the missing sequence next to 59
i need advice. I ditched school and i need to make a apology note to the principal. The principal thought i was a missing child and called cops looking for me.
Find the ratio a:b- 1) 2a=9b 2) a+b=3b please explain your work
You recently received an email from Harry, an English friend. Read part of his email and write your reply. My mum and dad tell me that you and your parents are
how does an alluvial fan form
Which sentence is a simple sentence? A.When the monster arrived, the children screamed. B.When the children heard strange sounds, they hid under the bed. C.The
What is a interesting topic that is related in media and culture
how are hydrogen bonds and cohesion related
x- 6.25 * 1 2/3 * 2.8= 146/5 3/14
A number increased by thirty-five