Q:

how to make all elements in array int python

numbers = [ int(x) for x in numbers ]
0
numbers = [ int(x) for x in numbers ]
0
for i, v in enumerate(numbers): numbers[i] = int(v)
0

New to Communities?

Join the community