Python Inserting Variable Interval Example Real Life