How to make sure your code starts from 1 to 5 instead of 0


I want my game to start with 1,2,3,4,5 instead of 0,1,2,3,4,5

Replace this line with your code.


well, in programming, its easier to manipulate user input then list indexes, so i suggest you subtract one from the user input. This way, the user enters 1-5, and the list can work with 0-4


Could you show me a code on how to do that


-1? its not that difficult


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.