Replace A List Element In Python Mean