This is the presentation associated with the python type casting video.
[dflip id=”2123″ ][/dflip]
Python Type Casting Video Question
This is the question that was asked in the python Type Casting video
Question : What is the output of following code?
In [ ]:
num1 = "25.5"
num2 = "5"
print("Sum =", int(num1)+int(num2))
[bg_collapse view=”button-blue” color=”#ffffff” icon=”eye” expand_text=”Show Answer” collapse_text=”Hide Answer” ]
In [1]:
num1 = "25.5"
num2 = "5"
print("Sum =", int(num1)+int(num2))
[/bg_collapse]