I\'ve completed coding bats python close_far exercise but I was wandering if there was anyway of having my code more concise. for example in java they have the function maths.ab