mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 17:34:49 +08:00
Update __init__.py
This commit is contained in:
@ -5,7 +5,7 @@ class Stack:
|
||||
self.top = 0
|
||||
|
||||
def is_empty(self):
|
||||
return self.top == 0
|
||||
return (self.top == 0)
|
||||
|
||||
def push(self, item):
|
||||
if self.top < len(self.stack):
|
||||
|
Reference in New Issue
Block a user