Just create a variable, just under the def a():, called found and set it as false.
If payroll number matches with employee payroll. Print employee details and found is set true.
The else-statement become an if-statement for found is _____.
If payroll number matches with employee payroll. Print employee details and found is set true.
The else-statement become an if-statement for found is _____.
When my code doesn't work I don't know why **think** and when my code works I don't know why **think**