I want to print out the sum of str and float number by using the type function but somehow it's not working
var1,var2,var3=[str(2),float(3.0),str(5)]
print([var1,var2,var3])
if I simply apply plus function print(var1+var2+var3)
it gives an error which I don't understand
TypeError: must be str, not float