1000 digits of pi in Python

前端 未结 11 1446
忘了有多久
忘了有多久 2020-11-28 10:54

I have been thinking about this issue and I can\'t figure it out. Perhaps you can assist me. The problem is my code isn\'t working to output 1000 digits of pi in the Python

11条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-28 11:21

    Here you can check whether your program outputs correct 1000 digits: http://spoj.com/CONSTANT

    Of course you can use diff or tc as well but you'd have to copy these 1000 digits from somewhere and there you just submit your program and check whether the score is bigger than 999.

    You can try to print even more digits there and thus get more points. Perhaps you'd enjoy it.

提交回复
热议问题