Skip to main content
1 of 6

how to calculate the information for the selected parts of the polygon?

I have a polygon that is formed using Quick OSM.enter image description here

After that, I add an area calculation field to it, automatically using the QGIS tools.

enter image description here

how can I use python to get the sum of the areas of the selected parts of the polygon multiplied by 5 and display the answer either in the python console or in some other way?