Skip to content

Instantly share code, notes, and snippets.

@seyyah
Created December 7, 2013 05:47
Show Gist options
  • Select an option

  • Save seyyah/7837699 to your computer and use it in GitHub Desktop.

Select an option

Save seyyah/7837699 to your computer and use it in GitHub Desktop.
s = Stack()
s.push('Ruby')
s.push('Perl')
s.push('Go')
while not s.isEmpty():
s.pop()
s.pop()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment