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

which relationships would most likely be casual? select two options
People who gathered together after the death of Princess Diana in 1997 to release grief and emotion were participating in what kind of crowd?a. conventionalb. e
answer i don’t understand
What type of syllable is the word "bleach"?a) r-combination syllableb) vowel-consonant-e syllablec) vowel combination syllabled) closed syllable
How done you have to be irk for when
When designing a benefits program, which factors should be considered? 1) Interests of various generations 2) Demographic characteristics 3) Budget constraints
According to Eric Foner which of the following statements is true with regard to wages of non- supervisory workers compared to what they were in the 1970s.? Ave
What is a famous piece of music from the romantic period
Which of the following is generally considered a short-term "cost" of physical inactivity? A. Development of type 2 diabetes mellitus B. Premature mortality C.
4. How is wayang still connected to spiritual traditions today? A. It is used to help stop bugs or diseases from attacking all kinds of harvests, such as rice,