0
class Point3D(object):
def _init_(self,x,y,z):
a=str(x)
self.x=a
a=str
self.y=a
a=a+","
a=str(z)
self.z=a
def _repr_(self):
return "(%d,%d,%d)"%(self.x,self.y,self.z)
my_point=Point3D(1,2,3)
print(my_point)
Hello, Emanuel. Welcome. Your question is very confusing. It’s hard to tell what the mistake is without knowing what you’re up to and what’s going on instead. If there is any compiler/interpreter error output, it is also important that you do. If you haven’t already, how about doing a [tour] of the site to better understand how it works? Then go back and edit your question by clicking on the "Edit] link".
– Pablo Almeida