To cast or not to cast…
A = 40 B = 32 print A + B print str(A) + str(B)
What is the output of the code above? Why does this happen?
Investigate
D = “7”
E = “72”
print D + E
print str(D) + str(E)
print int(D) + int(E)
You need to log in or create an account to submit code!











