PFP191_-_SP_2024_-_Block_5_-_FE_1906.webp
A

PFP191_-_SP_2024_-_Block_5_-_FE_1906.webp

Multiple Choices
(Choose 1 answer)
class Point:
What is the output of the following code?
def_init__(self, x = 0, y = 0):
self.x = x+1
self.y = y+1
p1 = Point()
print(p1.x, p1.y)
A. Initializes the class for use.
B. 00
C. 11
D. None None
E. Xy

Thông tin

Category
PFP191
Thêm bởi
Alphonse91
Ngày thêm
Lượt xem
781
Lượt bình luận
5
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom