Generate String From List Python Functions Interview