We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
in for loop that we use i is incremented and not the range.
range is fixed it gives order to for loop i to go till itd range is given and i start from lower value to higher in higher value of range.
hope this helps!!
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Print Function
You are viewing a single comment's thread. Return to all comments →
in for loop that we use i is incremented and not the range. range is fixed it gives order to for loop i to go till itd range is given and i start from lower value to higher in higher value of range. hope this helps!!