martywef martywef
  • 18-06-2021
  • Computers and Technology
contestada

What will be printed if the below code is run? 1. a = "123" 2. b = “456" 3. a = b + "123" 4. b = a 5. print (b + a

Respuesta :

Hlo2021
Hlo2021 Hlo2021
  • 18-06-2021

Answer:

1158

Explanation:

line 3 -> a = 456+123 = 579

line 4 -> b=a

so a=579=b

line 5 -> 579+579=1158

Answer Link

Otras preguntas

The total cost of a bag and an umbrella is Rs 2, 000 If the cost of the bag is Rs 1,000 less five times the cost of the umbrella, find the cost of each of thes
How do carnivores depend on plants to grow even though they do not eat plants directly
The width of a rectangle is 4 times its length, y. Which expressions represent the perimeter of the rectangle? Select all the correct expressions.
Need help I’m stuck on 4 of these
1. What is the measure of ∠BCD? 2. What is the measure of AC⏜ ?
Could somebody help? The question is below.
You can show that you love someone without ever saying “I love you” Agree or disagree? Explain
Describe a potential environmental problem that could result from rain falling on a sanitary landfill.
Average total cost is very high when a small amount of output is produced because.
How long did jesus stay on earth after his resurrection.