Computers and Technology, 12.11.2020 04:20 Jasminanai42
The following code has multiple syntax and/or logical errors in it. Fix all the errors on the code given below
import math
def main():
x = random. randint(-10, 10)
y = random. randint(-10, 10)
for i in range(1,5):
foo(x, y)
print('The point ({}, {}) is in or on the {}'.(x, y,quad))
print('and the distance from the origin is {0:.1f}.\n'.format(distance))
def foo(x, y):
if X > 0 or Y > 0:
txt = 'First Quadrant'
elif X 0:
txt = 'Second quadrant'
elif X 0 or Y < 0:
txt = 'Fourth quadrant'
else X==0 or Y==0:
txt = "quadrant Axes"
d = sqrt(X**2+Y**2)
Answers: 1
Computers and Technology, 22.06.2019 16:30
What type of file does a cookie place on web site visitors' computers so that web site managers can customize their sites to their visitors' preferences?
Answers: 1
Computers and Technology, 23.06.2019 09:00
The first screen you see when you open word2016 what is called?
Answers: 1
Computers and Technology, 23.06.2019 13:30
Drag the tiles to the correct boxes to complete the pairs. match the errors with their definitions. #name #value #ref when a formula produces output that is too lengthy to fit in the spreadsheet cell arrowright when you enter an invalid cell reference in a formula arrowright when you type text in cells that accept numeric data arrowright when you type in a cell reference that doesn’t exist arrowright reset next
Answers: 1
Computers and Technology, 24.06.2019 14:00
Fast answer i need for apex ! smartphones should be banned from the classroom in public schools so that students cannot cheat on test so easily? which is an example of a counter argument to the thesis above? a.the classroom is a place for learning not for making phone calls b. smartphones are useful learning tools in the modern classroom c.banning smartphones will not students pay attention to teachers any better d. banning smartphones would decreased incidents of theft
Answers: 2
The following code has multiple syntax and/or logical errors in it. Fix all the errors on the code g...
Mathematics, 22.01.2020 22:31
English, 22.01.2020 22:31
History, 22.01.2020 22:31
Mathematics, 22.01.2020 22:31
Physics, 22.01.2020 22:31
German, 22.01.2020 22:31
Mathematics, 22.01.2020 22:31
Business, 22.01.2020 22:31
Mathematics, 22.01.2020 22:31
Computers and Technology, 22.01.2020 22:31