<gh_stars>0
#Creating stack in Python

stack = []

stack.append('a')
stack.append('b')
stack.append('c')
stack.append('d')
stack.append('e')
stack.append('f')

print (stack)

var1  = stack.pop()
var2  = stack.pop()
var3  = stack.pop()

print (var1)
print (var2)
print (var3)

print (stack)

#Creating stack in Python

stack = []

stack.append('a')
stack.append('b')
stack.append('c')
stack.append('d')
stack.append('e')
stack.append('f')

print (stack)

var1  = stack.pop()
var2  = stack.pop()
var3  = stack.pop()

print (var1)
print (var2)
print (var3)

print (stack)
#Creating stack in Python