dog = 'penny'
print(dog.title())
dog_names = ['pete', 'luke', 'shane']
print(dog_names.remove('shane'))
Why does Python return an output of Penny for dog.title() but None for
dog_names.remove('shane')? Why can I not print the list dog_name with the method remove while I can use the method title on dog?
I understand that I get None because dog_name.remove has no return, but how does dog.title have a return?