diff --git a/README.md b/README.md index 8360f69..5ad108f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Python_Basics -Hello folks, -This repository is for basic python programs or just starting up with python programming. +Hello folks,
+This repository is for basic python programs or just starting up with python programming.
-All the programs are useful examples and they are of beginners' level. +All the programs are useful examples and they are of beginners' level.
diff --git a/lists.py b/lists.py index a3194ce..a21f9ac 100644 --- a/lists.py +++ b/lists.py @@ -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)