Python Range Include Last Value Function