artificial intelligence reinforcement learning in python coupon