Question: Write a code Find out how to Generate a random number between 1 and 10 inclusive. Ask the user for an input. If the input
Write a code
Find out how to Generate a random number between 1 and 10 inclusive. Ask the user for an input. If the input and the random number are the same, print "you guessed it right" else print "sorry, better luck next time"
Step by Step Solution
3.44 Rating (154 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
