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, 24.06.2019 00:20
Describe a data structures that supports the stack push and pop operations and a third operation findmin, which returns the smallest element in the data structure, all in o(1) worst-case time.
Answers: 2
question
Computers and Technology, 24.06.2019 08:20
Evaluate the scenario below and indicate how to handle the matter appropriately. situation: michael received an e-mail from what he thought was his doctor’s office, requesting his social security number. since he had just been in to see his doctor last week, he replied to the e-mail with his social security number.
Answers: 2
question
Computers and Technology, 24.06.2019 13:30
In the rgb model, which color is formed by combining the constituent colors? a) black b) brown c) yellow d) white e) blue
Answers: 1
question
Computers and Technology, 25.06.2019 04:10
This might be a bit off-topic, but i'm having trouble with a certain arg made by game theory. if there are any theorists out there that wanna , it would be appreciated!
Answers: 2
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, 21.02.2021 17:00
question
Arts, 21.02.2021 17:00
question
Computers and Technology, 21.02.2021 17:00
question
Mathematics, 21.02.2021 17:00
question
Mathematics, 21.02.2021 17:00
question
Chemistry, 21.02.2021 17:00
Questions on the website: 13722367