Code: GitRepo Hyperparameters Used: - Learning Rate - Discount Rate - Exploration Rate Learning Rate [0, 1]: Learning rate is the rate of learning or the amount of information that we are taking from the current iteration into the Q-table. Discount Rate [0, 1]: Discount rate is the amount of…