Confused here r=(3, 5) here it is a general bracet or open bracket.
So if included answer is 8 or 6.
Please confirm @akash_2020
Which paper is this
i think 7 should be ans number of integer=
final number-initial +1
in this case we have to subtract 2