0
Easy python question
friends = [âkevinâ, âkarenâ, âjimâ, âtobyâ] friends.sort() print(friends) Thats correct but when i write this one; print(friends.sort()) It says âNoneâ Why can someone explain??
1 RĂ©ponse
+ 2
Sort is a method which sorts the items in list and this method returns None. So if you try to print it, it will output None