Post History
Python 3, 108 bytes lambda p,s:s<2and"Hole in one"or"Par:Bogey:Double bogey:Triple bogey:Albatross:Eagle:Birdie".split(':')[s-p] Try it online! Very similar to my other solution, but hand...
Answer
#1: Initial revision
# [Python 3], 108 bytes <!-- language-all: lang-python --> lambda p,s:s<2and"Hole in one"or"Par:Bogey:Double bogey:Triple bogey:Albatross:Eagle:Birdie".split(':')[s-p] [Try it online!][TIO-ky4vigcm] Very similar to my other solution, but handles the "Hole in one" case independently and uses wrap-around indexing for the other cases [Python 3]: https://docs.python.org/3/ [TIO-ky4vigcm]: https://tio.run/##TY@xasMwEIZ3P8WhxTYoJY6TEtRmSEigY4durge5ll2BIgndZQjBz@7agRrd9P3/fcOdv9Ovs@XYHb5HI69NK8FzFPi@kbZlH84o0BacVcwF9imDOLle3cXZ3Zpp1TzDV9B@CUfTSAoOUVxkb5Q46dBqxV7QG01ZKtK8wpWvR1JIPxIVwgGqBKbJthy2OV@4jHgX8eafdxGXHIrIKaL@NfL3kTP3dZJ0LgDNTy4Xiafig7aUdexBw3Tio8uoWtccqCrqfGD52/gH "Python 3 – Try It Online"