https://alicloud.my.id/2024/05/03/python-generator-function-yield/