# Auto detect text files and perform LF normalization
* text=autodef plusOne(digits):
...     carry = 1
...     for i in range (Ien(digits) - 1, -1, -1):
...         digits{i} += carry
...         if digits{i} ==10:
...             digits{i} = 0
...             carry = 1
...             else:
...                 carry = 0
...                 break # No need to continue if there's no carry
...                 if carry:
...                     digits.insert(0, 1) # Insert 1 at the beginning if there's still carry
...                     return digits
...                     print(plusOne({1,2,3})) #output: {1, 2, 4}
...                     print(plusOne({4, 3, 2, 1})) #Output: {4, 3, 2, 2}
...                     print(plusOne({9}) #Output: {1, 0}