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, 22.06.2019 07:00
For all machines-not just hammers- the user applies force force to the machine to the machine over a certain distance. a. input b. output c. duo d. none of the above
Answers: 1
question
Computers and Technology, 22.06.2019 20:00
What is the worst-case complexity of the maxrepeats function? assume that the longest string in the names array is at most 25 characters wide (i.e., string comparison can be treated as o( class namecounter { private: int* counts; int nc; string* names; int nn; public: namecounter (int ncounts, int nnames); int maxrepeats() const; }; int namecounter: : maxrepeats () { int maxcount = 0; for (int i = 0; i < nc; ++i) { int count = 1; for (int j = i+1; j < nc; ++j) { if (names[i] == names[j]) ++count; } maxcount = max(count, maxcount); } return maxcount; }
Answers: 3
question
Computers and Technology, 23.06.2019 19:30
Of the following pieces of information in a document, for which would you most likely insert a mail merge field?
Answers: 3
question
Computers and Technology, 23.06.2019 20:40
Instruction active describing list features which statements accurately describe the features of word that are used to create lists? check all that apply. the tab key can be used to create a sublist. the enter key can be used to add an item to a list. the numbering feature allows for the use of letters in a list. the numbering feature can change the numbers to bullets in a list. the multilevel list feature provides options for different levels in a list.
Answers: 2
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
Mathematics, 18.03.2021 04:20
question
Social Studies, 18.03.2021 04:20
question
Mathematics, 18.03.2021 04:20