python добавя един
addOne = 0
addOne += 1
int + 1 int python
n = 12 # 'n' is a number
n += 1 # '+=' means that 'n' is equal the old 'n' + the number on the right. the number on the right can be any number
print(n)
добавете 1 към int py
points = 0
def test():
nonlocal points
points += 1
python добавите 1
int += 1