Skip to content

Commit a267381

Browse files
Merge pull request geekcomputers#664 from cclauss/patch-1
`True` is a builtin but `true` in an undefined name
2 parents c0e5a3a + 6310707 commit a267381

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stack.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def size(stack):
1313
# Stack is empty if the size is 0
1414
def isEmpty(stack):
1515
if size(stack) == 0:
16-
return true
16+
return True
1717

1818
# Function to add an item to stack .
1919
# It increases size by 1

0 commit comments

Comments
 (0)