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

1. Your friend needs quick energy! What kind of biomoleciste should he eat a lot of? 2. Why? Be specific, what do your cells do with this biomolecule that would
Question 4 of 30 Find the probability of rolling two dice and getting 2's on both. . A. 1/60 B. 1/30 C. 1/2 D.1/36 HELP ASAP
please solve this Improve on the following description by adding further details of your own to make it more interesting. I eyed him.apprehensively. He had smal
ninety-eight thousand ,five (how to write in numerical)?
Please help the directions aren't completely clear How do i label this map using another map? there are way to many things to label
Given: g(x) = -4x and h(x) = 4x +3 Find: g(h(x+1))
A car factory made 8 cars with a sunroof and 18 cars without a sunroof what is the ratio of the number of cars without a sunroof to the total number of cars?
How were the British able to undermine the advantage that France enjoyed prior to the French and Indian War?
why jesus christ died in cross?​
Carbohydrates stored in the liver are in the form of starch. True False