fork(10) download
  1. class Point:
  2. def __init__(self, x, y):
  3. self.x = x
  4. self.y = y
  5.  
  6. x = Point(1, 2)
  7. print(x.x)
  8.  
  9. #https://pt.stackoverflow.com/q/109013/101
Success #stdin #stdout 0.02s 9236KB
stdin
Standard input is empty
stdout
1