MCPcopy Create free account
hub / github.com/geekcomputers/Python / peek

Method peek

Infix_to_Postfix.py:20–21  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

18
19 # Return the value of the top of the stack
20 def peek(self):
21 return self.array[-1]
22
23 # Pop the element from the stack
24 def pop(self):

Callers 2

notGreaterMethod · 0.95
infixToPostfixMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected