how to store values in an array in python code example
Example 1: python array
array = ["1st", "2nd", "3rd"];
#prints: ['1st', '2nd', '3rd']
Example 2: python array usage
arr = [0,1,2]
print(arr[0])
array = ["1st", "2nd", "3rd"];
#prints: ['1st', '2nd', '3rd']
arr = [0,1,2]
print(arr[0])