python array usage

array = ["1st", "2nd", "3rd"]
#prints: ['1st', '2nd', '3rd']
array.append("4th")
#prints: ['1st', '2nd', '3rd', '4th']

Here is what the above code is Doing:
1. We create an array called array.
2. We print the array.
3. We append the string “4th” to the array.
4. We print the array again.