I want to generate a random number between 1 and 10 but it should not be equal to the current no or current value?
I looked at this below answer but having difficulty in making it as module since current no has to be retrieved from different file. I pretty much want something like this, but not exactly (if yo get what I mean).