
arr = [" hello", "world", 1, 1.2]

print(arr)

arr[2] = 2

print(arr)

arr.append("test_append")

print(arr)

arr.insert(1, "test_insert")

print(arr)

del arr[2]

print(arr)

val = arr.pop()

print(val)

print(arr)

val = arr.pop(0)

print(val)

print(arr)

arr.remove('test_insert')

print(arr)

arr.clear()

print(arr)

arr = [1,5,2,12222,442]

print(sorted(arr))

print(arr)
arr.sort()

print(arr)

arr.sort(reverse = True)

print(arr)
arr.reverse()
print(arr)

print(len(arr))

