https://camera-optical-zoom.blogspot.com/2024/08/int-object-is-not-subscriptable-after.html
'int' Object Is Not Subscriptable After If Statement