Python-Interview-Preparation
Python-Interview-Preparation copied to clipboard
question 40
trafficstars
Generators are more memory efficient than iterators; Generators store only the current value, whereas iterators store states persistently.