你好,我对代码非常陌生,我需要知道如何输出通过计算|x+y|获得的值,其中x是浮点,y是整数,都是未知的输入。我尝试过很多事情,但没有成功,请帮助我。这就是我现在所拥有的,但我知道这是非常错误的:(在大多数情况下,当我尝试错误时,TypeError: unsupported operand type(s) for +: 'int' and 'str',这是我最近的尝试:
prin
anwser=str(input("Do you need a new phone? "))
print ("You are now finished. ") question1=str(input("Do you know what phone you want? ") print("Research different phones and chose whi