Hello and welcome to the challenge!
You have two elevators, A and B. Write a function which determines which of them is closest to the called floor. The function should receive three arguments:
called_floor - they are all integer numbers of floors, which are numbered form
2. The function should return the name of the closest elevator -
"B". In the case when both distances are equal, return the name of the elevator A.
Have fun and good luck! :)