
from StackLinked import StackLinked

stack = StackLinked()



print("------------------------------------")
print("-\t\t\"EMPTY STACK LIST \"        - \n\n")


stack.peek()
print("=====================================\n")



print("------------------------------------")
print("-\t\t\"PUSH ELEMENT \"            -")
print("------------------------------------\n")



stack.push("rashmi")
stack.push("saman")
stack.push("kamal")
stack.push("sunimal")
stack.push("samana dissanayaka")




print("\n\n=====================================")
print("\tTop element is >>> ", stack.peek())
print("=====================================\n")




print("\n=====================================")
print("\t stack size is >>> ", stack.size())
print("=====================================\n")





print("\n=====================================")
stack.pop()
print("=====================================")




print("\n=====================================")
print("\t stack size is >> ", stack.size())
print("=====================================\n")




print("\n=====================================")
print("\tTop element is >> ", stack.peek())
print("=====================================\n")




print("\n=====================================")
stack.pop()
stack.pop()
stack.pop()
print("=====================================")



print("\n=====================================")
print("\t stack size is >> ", stack.size())
print("=====================================\n")




print("\n=====================================")
stack.pop()
print("=====================================")




print("\n=====================================")
print("\t stack size is >> ", stack.size())
print("=====================================\n")




print("\n=====================================")
stack.pop()
print("=====================================\n\n")




print("============isEMPTY RESULT=================")
print(stack.isEmpty())
d359387a4a920824f36c8bd0bdb19b4a5e6f8e87
<mask token>

<mask token>
print('------------------------------------')
print('-\t\t"EMPTY STACK LIST "        - \n\n')
stack.peek()
print('=====================================\n')
print('------------------------------------')
print('-\t\t"PUSH ELEMENT "            -')
print('------------------------------------\n')
stack.push('rashmi')
stack.push('saman')
stack.push('kamal')
stack.push('sunimal')
stack.push('samana dissanayaka')
print("""

=====================================""")
print('\tTop element is >>> ', stack.peek())
print('=====================================\n')
print("""
=====================================""")
print('\t stack size is >>> ', stack.size())
print('=====================================\n')
print("""
=====================================""")
stack.pop()
print('=====================================')
print("""
=====================================""")
print('\t stack size is >> ', stack.size())
print('=====================================\n')
print("""
=====================================""")
print('\tTop element is >> ', stack.peek())
print('=====================================\n')
print("""
=====================================""")
stack.pop()
stack.pop()
stack.pop()
print('=====================================')
print("""
=====================================""")
print('\t stack size is >> ', stack.size())
print('=====================================\n')
print("""
=====================================""")
stack.pop()
print('=====================================')
print("""
=====================================""")
print('\t stack size is >> ', stack.size())
print('=====================================\n')
print("""
=====================================""")
stack.pop()
print('=====================================\n\n')
print('============isEMPTY RESULT=================')
print(stack.isEmpty())

<mask token>
stack = StackLinked()
print('------------------------------------')
print('-\t\t"EMPTY STACK LIST "        - \n\n')
stack.peek()
print('=====================================\n')
print('------------------------------------')
print('-\t\t"PUSH ELEMENT "            -')
print('------------------------------------\n')
stack.push('rashmi')
stack.push('saman')
stack.push('kamal')
stack.push('sunimal')
stack.push('samana dissanayaka')
print("""

=====================================""")
print('\tTop element is >>> ', stack.peek())
print('=====================================\n')
print("""
=====================================""")
print('\t stack size is >>> ', stack.size())
print('=====================================\n')
print("""
=====================================""")
stack.pop()
print('=====================================')
print("""
=====================================""")
print('\t stack size is >> ', stack.size())
print('=====================================\n')
print("""
=====================================""")
print('\tTop element is >> ', stack.peek())
print('=====================================\n')
print("""
=====================================""")
stack.pop()
stack.pop()
stack.pop()
print('=====================================')
print("""
=====================================""")
print('\t stack size is >> ', stack.size())
print('=====================================\n')
print("""
=====================================""")
stack.pop()
print('=====================================')
print("""
=====================================""")
print('\t stack size is >> ', stack.size())
print('=====================================\n')
print("""
=====================================""")
stack.pop()
print('=====================================\n\n')
print('============isEMPTY RESULT=================')
print(stack.isEmpty())

from StackLinked import StackLinked
stack = StackLinked()
print('------------------------------------')
print('-\t\t"EMPTY STACK LIST "        - \n\n')
stack.peek()
print('=====================================\n')
print('------------------------------------')
print('-\t\t"PUSH ELEMENT "            -')
print('------------------------------------\n')
stack.push('rashmi')
stack.push('saman')
stack.push('kamal')
stack.push('sunimal')
stack.push('samana dissanayaka')
print("""

=====================================""")
print('\tTop element is >>> ', stack.peek())
print('=====================================\n')
print("""
=====================================""")
print('\t stack size is >>> ', stack.size())
print('=====================================\n')
print("""
=====================================""")
stack.pop()
print('=====================================')
print("""
=====================================""")
print('\t stack size is >> ', stack.size())
print('=====================================\n')
print("""
=====================================""")
print('\tTop element is >> ', stack.peek())
print('=====================================\n')
print("""
=====================================""")
stack.pop()
stack.pop()
stack.pop()
print('=====================================')
print("""
=====================================""")
print('\t stack size is >> ', stack.size())
print('=====================================\n')
print("""
=====================================""")
stack.pop()
print('=====================================')
print("""
=====================================""")
print('\t stack size is >> ', stack.size())
print('=====================================\n')
print("""
=====================================""")
stack.pop()
print('=====================================\n\n')
print('============isEMPTY RESULT=================')
print(stack.isEmpty())


from StackLinked import StackLinked

stack = StackLinked()



print("------------------------------------")
print("-\t\t\"EMPTY STACK LIST \"        - \n\n")


stack.peek()
print("=====================================\n")



print("------------------------------------")
print("-\t\t\"PUSH ELEMENT \"            -")
print("------------------------------------\n")



stack.push("rashmi")
stack.push("saman")
stack.push("kamal")
stack.push("sunimal")
stack.push("samana dissanayaka")




print("\n\n=====================================")
print("\tTop element is >>> ", stack.peek())
print("=====================================\n")




print("\n=====================================")
print("\t stack size is >>> ", stack.size())
print("=====================================\n")





print("\n=====================================")
stack.pop()
print("=====================================")




print("\n=====================================")
print("\t stack size is >> ", stack.size())
print("=====================================\n")




print("\n=====================================")
print("\tTop element is >> ", stack.peek())
print("=====================================\n")




print("\n=====================================")
stack.pop()
stack.pop()
stack.pop()
print("=====================================")



print("\n=====================================")
print("\t stack size is >> ", stack.size())
print("=====================================\n")




print("\n=====================================")
stack.pop()
print("=====================================")




print("\n=====================================")
print("\t stack size is >> ", stack.size())
print("=====================================\n")




print("\n=====================================")
stack.pop()
print("=====================================\n\n")




print("============isEMPTY RESULT=================")
print(stack.isEmpty())