arr= [1,2,3,4,5]
def Ihavetodothis():
    print("This is the array arr")
    print(arr)
    arr.remove(3)   
    print("This is if the third object of the array is removed")
    print(arr)
    arr.pop(2)
    print("this is what would happen if the third part of arr is removed")
    print(arr)
Ihavetodothis()
