subject

If you can't tell already this is python. I need someones help fixing this if statement stuff. Here is a link to a compiler for you guys. https://www. programiz. com/python-programming/online-compi ler/ import randint
z = randint(0, 10)
rand = input("Guess a number between 1 and 10! ")
if(z == rand):
print("Congrats. You guessed the number! ")
else(z > rand):
print("Your number is too big. ")
else(z < rand):
print("Your number is too small. ")
print("The correct answer is " + str(z))

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 19:30
Why is it a good idea to leave an interview being courteous and polite?
Answers: 1
question
Computers and Technology, 23.06.2019 18:30
How often does colleges update the cost of attendance on their website? . a)every two years b) every four years c) every year d) every semester
Answers: 1
question
Computers and Technology, 23.06.2019 21:20
In microsoft word, when you highlight existing text you want to replace, you're in              a.  advanced mode.    b.  automatic mode.    c.  basic mode.    d.  typeover mode
Answers: 1
question
Computers and Technology, 23.06.2019 21:30
To move a file or folder in microsoft windows, you can click and hold down the left mouse button while moving your mouse pointer to the location you want the file or folder to be, which is also known as.
Answers: 3
You know the right answer?
If you can't tell already this is python. I need someones help fixing this if statement stuff. Here...
Questions
question
Mathematics, 27.10.2020 22:30
question
Mathematics, 27.10.2020 22:30
question
Chemistry, 27.10.2020 22:30
question
Engineering, 27.10.2020 22:30
question
Mathematics, 27.10.2020 22:30