Iterator Class yields only constant

前端 未结 0 1671
一个人的身影
一个人的身影 2021-02-03 10:49

I\'m trying to learn Classes by creating the Leibniz Series, so far I have the following:

from fractions import *
from decimal import *

class LeibnizPiIterator:
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题