7 Ways to Optimize Your Python Code for Memory Efficiency