3 ms·
Hm. But can you prove this is wrong?
by knodi123 4y ago
Hm. But can you prove this is wrong?
- layer8 4y agoI assume it’s correct, although given the above, maybe that’s really the fourth-to-last digit.
- gs17 4y agoI asked it to give me a proof, and it just outputed some Python code. >Prove the last digit of pi is 3. import math def main(): for n in range(1000): x = math.sin(math.pi * n) if x > 0.99: break else: print("error") main() Hard to argue with that.
- Lockal 4y agoWell, str(math.pi)[-1] is indeed 3.
- nonameiguess 4y agoPi has no last digit, so it's wrong, but hilariously, the answer seems to be based on the last digit in the Python math library's finite approximation of Pi, which presumably isn't static as memory sizes of computers increase over time and Python updates to account for more accurate possible approximations.
- deleted 4y ago[deleted]