Popping The Element In Python

Introduction

 
In this blog, I am going to explain about popping the element in Python. The output will be displayed in the Run Window.
 
Software Requirement
 
Python3.5.2.
 
Simple Programming
  1. print("Welcome To C#Corner.......")  
  2. print("Popping Elements From A List :")  
  3.   
  4. marks=["78","89","45","77","90"]  
  5. print(marks)  
  6. print(marks.pop(0))  
  7. print(marks)  
  8. print(marks.pop(2))  
  9. print(marks)  
Explanation
 
In this blog, I will explain about popping the element in Python The output will be displayed in the Run Window.
 
Output
 
Output