Post History
Ruby, 100 96 bytes According to the rules, trailing white spaces and line feed are allowed and my program uses that: ->p,s{"Par Bogey Double bogey Triple bogey Hole in one Albatross Eagl...
Answer
#2: Post edited
## [Ruby](https://www.ruby-lang.org/), 100 bytes- ```ruby
->p,s{s<2?"Hole in one":%w[Par Bogey Double Triple Albatross Eagle Birdie][s-p]+(s-p>1?" bogey":"")}- ```
**[Try this online!](https://ato.pxeger.com/run?1=bZHBaoNAEIbp1acYthRbqoWkSQlSFUNTWughoDfxsMY1FVJXdpUSEumD9CKlfaj2aTq6YnIIiON8_8z8O-vnt6jibfOV2j9VmZqz38R0CkPu5P3YJU98wyDLgeeMWBfv4ZIKmPM128IDr2LUApEVGLxNTEvBpYQFXWM-z0SSsSiUZhFdX-LbGbkE4raTWIRc1crr7-wjWPiBDzaEGkA4MQAfgi4kMnpwi0CNO7Bpy7phAxoj6rx7NFVoOFiPcdoI8fFew4jTAnbcodAvGh-5osXstDJRPf0dDUqkad26N4yuXiHhsC-oMECuuGAG5PSN7bG7qEoJBBULzncY6r6iTbuPWtW2eRtrMJ1WstPwMC7CImRg210tuKAvPd_XwQL90Xt-0WuisTzR1H9oGhX_AQ)**
- ## [Ruby](https://www.ruby-lang.org/), <del>100</del> 96 bytes
- According to the rules, trailing white spaces and line feed are allowed and my program uses that:
- ```ruby
- ->p,s{"Par
- Bogey
- Double bogey
- Triple bogey
- Hole in one
- Albatross
- Eagle
- Birdie".lines[s<2?4:s-p]}
- ```
- **[Try this online!](https://ato.pxeger.com/run?1=dVHBaoNAEKXX_YrBHrxooKkpQWqCoSkt9BDQmxW6xjUVrCu7egiJH9FzL6G0H9V-TWddsV4CC7Pz3pt5s7MfX6JJ9qfPzPtu6sye_7zYi8qSB2NDBVnxHduTO94kBYOkS0KRV0PywPGal8BLRvwiobXgUpI13RWMrHKR5syYFHnJZCRvp0vHlXYVt9rn9-I9XAdhAB5EBCByLMCjXJ9LI7Z66BqhvtGAzRSm7MfCKYKd7wDONDiMNRDY8wqJ0ezjRucorLpBavz8sdX8HOfouvEONRcT0i1gwuj2FVIOx4oKC-SWC2ZBSd_YEeurppZgIOPC5QFD2ytU2l1arVW5ii3YC0V5WfTfLkYRYuB5nRaWYG78IDDBBfPef3wyW4OwMiX6Z04nHf8A)**
#1: Initial revision
## [Ruby](https://www.ruby-lang.org/), 100 bytes ```ruby ->p,s{s<2?"Hole in one":%w[Par Bogey Double Triple Albatross Eagle Birdie][s-p]+(s-p>1?" bogey":"")} ``` **[Try this online!](https://ato.pxeger.com/run?1=bZHBaoNAEIbp1acYthRbqoWkSQlSFUNTWughoDfxsMY1FVJXdpUSEumD9CKlfaj2aTq6YnIIiON8_8z8O-vnt6jibfOV2j9VmZqz38R0CkPu5P3YJU98wyDLgeeMWBfv4ZIKmPM128IDr2LUApEVGLxNTEvBpYQFXWM-z0SSsSiUZhFdX-LbGbkE4raTWIRc1crr7-wjWPiBDzaEGkA4MQAfgi4kMnpwi0CNO7Bpy7phAxoj6rx7NFVoOFiPcdoI8fFew4jTAnbcodAvGh-5osXstDJRPf0dDUqkad26N4yuXiHhsC-oMECuuGAG5PSN7bG7qEoJBBULzncY6r6iTbuPWtW2eRtrMJ1WstPwMC7CImRg210tuKAvPd_XwQL90Xt-0WuisTzR1H9oGhX_AQ)**