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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 17:30, staz13wiggins
How many pairs of chromosomes do human body cells contain?
Answers: 2
image
Computers and Technology, 22.06.2019 23:00, maxy7347go
Which factor is the most important when choosing a website host? whether customers will make secure transactions the number of email accounts provided the purpose of the website the quality of the host control panel
Answers: 3
image
Computers and Technology, 23.06.2019 23:00, GreenHerbz206
Computer programming is one type of what career
Answers: 1
image
Computers and Technology, 24.06.2019 01:10, jaileen84
Create a program that will take in a single x and y coordinate as the origin. after the input is provided, the output should be all of the coordinates (all 26 coordinates read from the “coordinates. json” file), in order of closest-to-farthest from the origin.
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 in other subjects:

Konu
Computers and Technology, 01.12.2021 23:30
Konu
English, 01.12.2021 23:30