Skip to content

Commit 24931d3

Browse files
committed
Added type to argument
1 parent 979bf79 commit 24931d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

data_structures/stacks/TwoQueuedStack.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
class StackUsingQueues:
22
def __init__(self) -> None:
33
"""
4-
Initialize the stack using two queues.
4+
Initializing the stack using two queues.
55
66
>>> stack = StackUsingQueues()
77
"""
88
self.queue1 = []
99
self.queue2 = []
1010

11-
def push(self, item) -> None:
11+
def push(self, item:int) -> None:
1212
"""
1313
Push an item onto the stack.
1414

0 commit comments

Comments
 (0)