GIS Python code assistance

Job ID: 37187029

Budget: $10 – $30 AUD

I am looking for assistance with my QGIS Python code and creating a very small script to calculate and store values as a list

I'm new to Python but this code will help automate a process and save me time
I have been able to source the data and perform the calculation, im just having trouble saving the values as a single list

See the attached screenshot of the code and the output
I require single/few lines of code to store this output as a single list

Requiring this to be completed today
Related categories: Python Geospatial