Hello I am very new to code and I need to know how to output the value obtained by calculating |x+y| where x is a floating point and y is an integer, both unknown inputs. I have tried many things and cannot succeed please help me.
This is what I have now but I know it is very wrong :( In most cases when trying things I get the error TypeError: unsupported operand type(s) for +: 'int' and 'str'
This was my most recent attempt:
x = int(input())
y = input()
w = (x + y)
print (abs(w))