How To Convert A List To Array In Python