How to add 1 to a number in pYTHON code example Example: add 1 to int py points = 0 def test(): nonlocal points points += 1