viewing paste Unknown #52657 | Text

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
import random
# Step 2: write code for program 
count = 0
total = count + 1
number = random.randint(1,10)
#print(number)
user = (input("Im thinking of a number between 1 and 10, guess this number:"))
count = 0
total = count + 1
if user > number:
    print ("The number im thinking of is lower.")
    break
if user < number :
    print(" The number im thinking of is higher.")
    break
if user == number:
    print: (" Correct! {number} was the right number.")
        continue
print (total)
 
Viewed 181 times, submitted by Guest.