Generating random number input (to be used 6 times)

I am creating a random guessing game in which I need to generate an input 6 times. I know how to generate a random number but I don't know how to generate a random input so that the game plays itself 6 times before you lose, or in this case the computer loses because it's playing itself.
I know how to generate a random number but I don't know how to generate a random input
What does that mean?
If it's not a user playing, then what makes it any different than the random input you already know how to make?
Basically a a random number is generated and the user inputs a guess. The user gets 6 tries. Then I was tasked with having the computer generate a number 6 times with no user input. My class mate helped me figure it out though. I just made the variable guess = the random number function. I don't entirely understand this but he helped so I'm good now thanks.
Registered users can post here. Sign in or register to post.