I want to call an API based on a percentage value stored in the database. For example, if the percentage is 30%, then out of 100 requests, the API should be called approximately 30 times. The selection should be randomized to ensure even distribution over time. How to handle this in Python Continue reading...