Implement C's Switch in Python 3
On 2019-02-03 02:51, Avi Gross wrote:
> I may be missing something, but the focus seems to be only on the rightmost
> digit. You can get that with
I had the same thought, but came across a problem. "11st", "12nd", "13rd"?
>>>> for day in range(1, 32):
> print( nthSuffix(day))