MCPcopy Create free account
hub / github.com/Avisikta-Majumdar/HackerRank_Python_Solutions / __init__

Method __init__

Default Arguments.py:2–3  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1class EvenStream(object):
2 def __init__(self):
3 self.current = 0
4
5 def get_next(self):
6 to_return = self.current

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected