notas-tsfc/suma_unch.py

9 lines
101 B
Python
Executable File

def DoChange(x, y):
x = x.__add__(y)
return x
x = 1
print(x)
print(DoChange(x, 2))
print(x)