<分区> 分区>
salary = float(input("What is your salary?"))
if salary > 1250.00 :
new = salary*0.1
print("the increase was {}".formart(new))
if salary <= 1250.00:
new = salary*0.15
print("the increase was {}".formart(new))
它说
Traceback (most recent call last):
File "python", line 7, in <module>
AttributeError: 'str' object has no attribute 'formart'
