mirror of
https://github.com/donnemartin/interactive-coding-challenges
synced 2026-01-06 17:38:02 +00:00
@@ -24,4 +24,4 @@ class Stack(object):
|
||||
return self.top.data if self.top is not None else None
|
||||
|
||||
def is_empty(self):
|
||||
return self.peek() is None
|
||||
return self.peek() is None
|
||||
|
||||
Reference in New Issue
Block a user