Output: Float, Loop, finally
Interview insights are lockedSee how often this is asked and which companies asked it with Buncho Pro.What is the output of each snippet?
# A
print(0.1 + 0.2 == 0.3)
# B
for i in range(3):
pass
print(i)
# C
def test():
try:
return 10
finally:
print("Finally executed")
(test())