+ 1
Je vois pas l erreur
sysimport print(sys.vesion) class name: def __init__(self,name): self.name=name n=name("toto") print ("nom{}:".format(self.n))
1 Answer
+ 3
import sys
print(sys.version)
class name:
def __init__(self,name):
self.name=name
n=name("toto")
print ("nom{}:".format(n.name))