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

What does "equal protection under the law" mean?
A jar contains 18 apple lollipops, 7 strawberry lollipops, and 10 grape lollipops. Irvin randomly selects a lollipop, gives it to his brother, and then randomly
What is a function of cell division? A) to turn skin cells into hair cells B) to keep cell size small as multicellular organisms grow C) to allow cell size to i
how to convert 37 \ 4 to a mixed number
the ratio of pens to pencils in carlos case is 4:5 he has 16 pens how many pencils does carlos have
fairs were an important part of a
4n^2-16 factor the quadratic
Which event is the most common at oceanic-continental convergent boundaries? A. volcanic mountain ranges B. earthquakes C. faults D. rift valleys
Mixtures can occur between all phases of matter. Give an example for each of the following mixtures: 1. Gas/gas 2. Gas/liquid 3. Liquid/liquid 4. Solid/liquid 5
480 vibrations in 4 minutes whAts the period in seconds?