in-place order reversal code (Python)

mylist=[1,2,3.4,5]

mylist

[1,2,3.4,5]

mylist.reverse()

mylist

[5,4,3,2,1]

How would I write in a mathematical expression where n is the size of the input?

Would this be O(N)? How do you determine by line if its O(1),O(N),O(N^2) etc?

How can I add a class to this code?

## Place this order or similar order and get an amazing discount. USE Discount code “GET20” for 20% discount