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

Mali plants 5 roses. Justin plants 7 more roses than Mali. Which number sentence shows how to find the number of roses Justin plants?
the belief that the will of most of the people will be just more often than it will be unjust is called
Some of the artifacts that hint at religious rituals include _____..
The boiling point of a pure substance is defined as the temperature at which: A) the kinetic energy of the molecules begins to increase B) the vapor pressure eq
What type of fingerprints is invisible to the naked eye?
How does Lincoln value liberty, equality and democracy in his Gettysburg Address?.
the sum of a number p and seven is divided by twelve. the result is three. what is the number?
A meter stick perpendicular to the ground casts a 1.5 meter shadow at the same time a telephone pole casts a shadow that is 9 meters how tall is the telephone p
2/3(x+12)+2/3x=4 How do you solve the equation?
what gives the gem amethyst its purplish color