I am just learning Python and programming in general and have come across the following question. I cannot seem to find an answer/explanation to why the statement below passes None in the assignment. Just trying to understand. I am oversimplifying below and understand that once I call .sort() on before that before has changed as well.
before = [67,45,2,13,1,998]
after = before.sort()
print(after)
Why, when I print after is it None?