## 05AB1E, 3 bytes ## žs¤ **Explained** žs # push pi to N digits ¤ # get last digit [Try it online](http://05ab1e.tryitonline.net/#code=xb5zwqQ&input=MTAwMDE) Uses 1-based indexing.<br> Supports up to 100k digits.