subject

Can someone fix this. If you can't tell it is python but yeah. Here is a link to a compiler if you dont have one: 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 21:30
Ajeweler designing a pin has decided to use five stones chosen from diamonds, rubies, and emeralds. in how many ways can the stones be selected?
Answers: 3
question
Computers and Technology, 22.06.2019 20:00
What statement best describes operating systems? it’s possible for modern computers to function without operating systems. most operating systems are free or very inexpensive. operating systems are managed by the computer’s microprocessor (cpu). operating systems manage the computer’s random access memory (ram).
Answers: 1
question
Computers and Technology, 24.06.2019 13:00
Think of a spreadsheet as a giant calculator spread of paper chart data collector
Answers: 2
question
Computers and Technology, 24.06.2019 18:10
Most information security incidents will occur because of select one: a. users who do not follow secure computing practices and procedures b. increases in hacker skills and capabilities c. poorly designed network protection software d. increasing sophistication of computer viruses and worms
Answers: 1
You know the right answer?
Can someone fix this. If you can't tell it is python but yeah. Here is a link to a compiler if you...
Questions
question
Business, 08.11.2019 14:31
question
Mathematics, 08.11.2019 14:31
Questions on the website: 13722363