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

PLS HELP ASAP!!!! Fifty-two of 80 marbles are red. What percent of the marbles are not red?
prepare their flower beds for the Cedar bark mulch 6 inches deep is to be spread on each of the beds The mulch is sold in bags containing 3 cubic feet for $6.95
true or false the enzyme maltese is secreted from the walls of the duodenum?​
Write standard form of the equation of the line through the given points, through: (0, -5) and (-5,3)
can I plss have an answer on this i need it ASAP plss​
muscles work in (blank) to move body parts
What are some negative effects of GPA in college admissions?
Please answer ASAP this is due tomorrow
What does the term "popular sovereignty" describe? O The right of the states to vote on laws O Abolitionism O The right of the federal government to nullify law
Do you think Donovan was being selfish when he asked Katie to help the Academy students with the Human Growth and Development class? Explain your answer. FROM T