I need help with my guess game | Sololearn: Learn to code for FREE!


I need help with my guess game

build a simple guessing game for two users. ---------------------------- 1. The application accepts inputs from user1 and user2 2. Based on user 1 inputs write a program that gives a random number in the range of 0 to the the number entered. Store the number in a variable called guess_number. Number generated randomly should be of type integer only. 3. Let user 2 guess the number by accepting his input. If user 2's guess is correct increase the score of user 2 by 1. 4. Repeat step 2 for user 1 to also guess and if correct also credit him 1 mark. 5. The user who gets to 10 first wins the game https://code.sololearn.com/cBf9W926KjvS/?ref=app

3/25/2021 1:08:30 PM


1 Answer

New Answer


just is If Else basic.