Answers for "how to convert tuple to array"

0

convert tuple to array python

import numpy 

my_tuple = ([8, 4, 6], [1, 2, 3])
print("Tuple to array: ")
print(numpy.asarray(my_tuple))
Posted by: Guest on January-27-2021

Code answers related to "how to convert tuple to array"

Python Answers by Framework

Browse Popular Code Answers by Language