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.05EXEC = 0.1TRAIN = 0.15salary = 0pr = 0department = "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)
HR = 0.05EXEC = 0.1TRAIN = 0.15salary = 0pr = 0department = "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)
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here