Warning this is going to get very tricky because it can be any number 1 to 10 i used the choose random number to 10.
I made it on my own literally