mirror of
https://hub.njuu.cf/TheAlgorithms/Python.git
synced 2023-10-11 13:06:12 +08:00
Update __init__.py
This commit is contained in:
parent
ba16772456
commit
f942742455
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user