I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.
The autograder wants you to use user-input as the arguments for your function instead of numbers. “45” and “10.5” should not be part of your code. It should be easy to fix.
First: Learn to use names for your variables - if a is “hours”, name it “hours”.
Second: Why are you giving a,b as parameters into the function, if you override them with inputs?
Third: you can typecast an input directly, saving you inbetween variables: hours = float ( input ( "Enter hours worked: ") )
Finally, your functions has no return value. It just calls print(), which creates an output in the console but returns None.