Write a program that consists of the code below. a = 1 b = "One" c = 5.2 d = "5.2" e = "3" aa = "Number" + a bb = "Number" + b cc = "Number" + c dd = "Number" + d ee = "Number" + e print (aa) print (bb) print (cc) print (dd) print (ee) aa = 10 + a bb = 10 + b cc = 10 + c dd = 10 + d ee = 10 + e print (aa) print (bb) print (cc) print (dd) print (ee) Run the program. Issues This program does not work fully. 1. Describe the error. 2. What do they depend on? Solve the problems, but you have some limitations. You may only change what is assigned to aa, bb, cc, dd and ee. 2. As far as possible, the calculations should work. (10+ "One" does not work, of course.) If you later change the values (but not type) of the assignments to a, b, c, d and e, the program should still work as expected.
Write a
a = 1
b = "One"
c = 5.2
d = "5.2"
e = "3"
aa = "Number" + a
bb = "Number" + b
cc = "Number" + c
dd = "Number" + d
ee = "Number" + e
print (aa)
print (bb)
print (cc)
print (dd)
print (ee)
aa = 10 + a
bb = 10 + b
cc = 10 + c
dd = 10 + d
ee = 10 + e
print (aa)
print (bb)
print (cc)
print (dd)
print (ee)
Run the program.
Issues
This program does not work fully.
1. Describe the error.
2. What do they depend on?
Solve the problems, but you have some limitations.
You may only change what is assigned to aa, bb, cc, dd and ee.
2. As far as possible, the calculations should work. (10+ "One" does not work, of course.)
If you later change the values (but not type) of the assignments to a, b, c, d and e, the program should still work as expected.
Step by step
Solved in 3 steps