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

Donnie is solving the equation 2x2 = 27 + 3x with the quadratic formula.What values should he use for a, b, and c
Where does 5/6 go on a number line
A DNA segment is changed from -AATTAG- to -AAATAG-. This is a_______.
who what when where why treaty of versailles
which value is equivalent to 15.2% written as a decimal
sale price $25 original price $40 what percent.represents the discount that received when buying the sweater
What are the solutions to the equation x2 + 6 = 87?   A. –9 and 9
A regulation tennis court measures 78 feet long by 36 feet wide.Brad is making a scale drawing of the tennis court using a scale of 1 foot = 1/2 inch.How long i
How do I solve 4x + 3y=0 & 2x + y = -2 using substitution
what tools did scribes use in egypt