0
In which case range(1,10) indicates value 1-9 and when 1-10. please explain.
3 Respostas
+ 2
A range accepts 2 arguments, the beginning and the end, but the end is not included, so range(1,10) means 1-9, to get a range of 1-10 use range(1,11).
+ 2
You're welcome Partha, been there too, no worries, mistakes are part of learning : )
+ 1
thanks Ipang actually there was some misunderstanding on my side lol