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

why did colonists become increasingly unhappy with the british goverment?
without multiplying determine which expression has a product greater than 52,678A) 5/6 x 52,678B) 9/9 x 52,678C) 4/3 x 52,678D) 3/5 x 52,678How can I tell just
Rewrite the following sentences to correct the dangling phrase? please I need help!!!!!!1) Sitting at the kitchen table,dinner was served. 2) Creating a load no
How did the booming economy of the 1920s lead to changes in American life?
Which sentence does not contain any punctuation errors?  A.The smoothie recipe includes the following, frozen berries, yogurt, and vanilla extract.  B.The smoot
A ratio of 3:1 in the phenotype of an organism occurs when (A) the alleles are incompletely dominant. (B) only recessive traits are involved. (C) only dominant
without multiplying determine which expression has a product greater than 52,678A) 5/6 x 52,678B) 9/9 x 52,678C) 4/3 x 52,678D) 3/5 x 52,678How can I tell just
What is the difference between anus and ovary
Find the 40th term of this arithmetic sequence.
How do conservationists make use of watersheds and ecozones? Why is this important?