Python Range Stack Overflow Apigenin Structure