Submitted By: admin on February 6, 2018
2
0
4150
Just use the "-1" flag. For example:
>>> a[n] = x # zero-based indexing
>>> a[n -1] = x # one-based indexing
Please Signin or Signup to add a comment