Hey I am trying to write a python code and I want to use Break value number as a condition in a loop. I am planning on using many different rasters for this program, so I want the program to accomadate any break values.

in this example I would like to use 1,076,856.8 as my condition number.

in this example I would like to use 5,491,233.553 as my condition number.
I understand that every raster will have different default classes depending on how the zonal histogram calculator works. But I would like for it to remain consistent for every Raster I use. What would be the best way to get this number while using the Python language?