mirror of
https://github.com/donnemartin/interactive-coding-challenges
synced 2026-03-05 15:18:45 +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