python how to take array as input code example
Example 1: get list input from user in python
a = list(map(int,input("\nEnter the numbers : ").strip().split()))
Example 2: enter elements in array in python
import array as arr
# Error
a = arr.array('d', [1, 3.5, "Hello"])