can some help me with my code i keep getting message ile "", line 24, in TypeError: can't multiply sequence by non-int of type 'float' > HR = 0.05 EXEC = 0.1 TRAIN = 0.15 salary = 0 pr = 0 department...


can some help me with my code i keep getting message ile "", line 24, in
TypeError: can't multiply sequence by non-int of type 'float'
>




HR = 0.05
EXEC = 0.1
TRAIN = 0.15
salary = 0
pr = 0
department = "hr" or "EXEC" or "trainee"
print("Enter your salary: ")
salary = input()


print("enter your department: ")
department = input()


if department == "hr":
    pr = salary * HR
    print("potential raise: " + pr)


if department == "EXEC":
    pr = salary * EXEC
    print("potential raise: " + pr)




if department == "train":
    pr = salary * TRAIN
    print("potential raise: " + pr)



Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here