evelynmontes5711 evelynmontes5711
  • 24-09-2021
  • Computers and Technology
contestada

What will be printed after the code below is ran: a = "123" b = "456" a = b + "123" b = a print(b + a)

Respuesta :

saadatk
saadatk saadatk
  • 24-09-2021

Answer:

1158

Explanation:

a = 123

b= 456

a = b + 123                           [a = 456 + 123 = 579]

b = a                                     [b = 579]

print(b + a)

output: 1158

P.S

If the variables have string values (because they have double-quotes around them), then the answer will be very different!

Answer Link

Otras preguntas

“What does it mean when we “rework” copyrighted material?”
in the given figure , if PQ ll RS , angle TRS = 105 and angle RTP = 30 , then the value of x is
You want to determine if one peak is steeper than another peak, based on a topographic map. What would you see on the steeper peak?
What was good abt technology in 1930
did dinosaurs really have brains in their tails?
in a 4*100m relay race,tota track length is 200m and time taken by one particular group is 50.2sec. ehat is the average speed and average velocity of that group
what is dry lightning?
If the supplement of an angle is two-third of itself ,then its supplement is
what is the difference between a moth and a butterfly?
what are stalactites?