No, it’s 103. You’re just concatenating strings here, not performing arithmetic. Maybe you mean “print (”${item + 3}“)”, though you could just do “print (item + 3)” instead.
As the error says. You can’t perform arithmetic with strings.
You’ve defined “item” as an object, apparently. You can’t perform arithmetic with objects. It will work if you cast item to a number, or better yet just define item as a number in the first place:
for item in [1, 2.0, "three"]:
if item isa int:
print (cast(int, item) + 3)
elif item isa double:
print (cast(double, item) / 0.03)
elif item isa string:
print (item.ToString().ToUpper())