Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Python_Basics

Hello folks,
This repository is for basic python programs or just starting up with python programming.
Hello folks, <br>
This repository is for basic python programs or just starting up with python programming.<br>

All the programs are useful examples and they are of beginners' level.
All the programs are useful examples and they are of beginners' level.<br>
8 changes: 4 additions & 4 deletions lists.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,9 @@

# famous people
people = ['Elon Musk', 'Bill Gates', 'Jeff Bezos', 'Steve Jobs']
people.pop()
people.pop(1)
del people[0]
people.remove('Jeff Bezos')
people.pop() #pop Steve Jobs
people.pop(1) #pop Bill Gates
del people[0] #pop Elon Musk
people.remove('Jeff Bezos') #pop Jeff Bezos
print('There is no famous people left in your list.')
print(people)