What is wrong with the following code:
class Ball():
def __init__(self):
self.x = 0
self.y = 0
self.change_x = 0
self.change_y = 0
x += change_x
y += change_y
a)The variables should be set equal to ""
b)The code to set the variables to zero should be inside a method.
c)self should be in between the parenthesis.
d)The code to add to x and y must be in a method.
Answers
Answered by
1
Answer:
option (a) the variable should be set equal to ""
hope you like it
Answered by
1
Answer:
option A.............
Similar questions