 A factor of 0 will make the agent not learn anything, while a factor of 1 would make the agent consider only the most recent information.The discount factor determines the importance of future rewards.A factor of 0 makes the agent "opportunistic" by only considering current rewards, while a factor approaching 1 will make it strive for a long-term high reward.