saving . . . saved range(1,5) not showing [1,2,3,4] has been deleted. range(1,5) not showing [1,2,3,4] has been hidden .
range(1,5) not showing [1,2,3,4]
Title
Question
<span style="color: rgb(85, 85, 85); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; background-color: rgb(205, 205, 205);">In windows, range(1,5) not showing expected output [1,2,3,4,5], Why?</span>

Python-3.4.3 Getting-started-with-for 10-11 min 0-10 sec 27-06-20, 12:46 p.m. swati-mishra

Answers:

Hello reader,
range(lowerbound,upperbound)
Generates a range from lowerbound to (upperbound minus 1)
It doesnt include the upperbound
So range(1,5) gives [1,2,3,4]
30-06-20, 3:45 a.m. HarshM


Log-in to answer to this question.