Transform String Into Array In Python Documentation Random