Home / Questions / Other List को dictionary key क्यों नहीं बना सकते? — error आने पर developer क्या करे? Other 0 Views Verified List को dictionary key क्यों नहीं बना सकते? — error आने पर developer क्या करे? #python #debugging #best-practices #developer Sarkari Result QA Bank Editorially reviewed exam information Share
Verified Correct Answer List mutable और unhashable है List mutable और unhashable है Additional Explanation Dictionary keys hashable होनी चाहिए। पहले traceback की exact line और input value check करें।
Verified List केवल strings रखती है List केवल strings रखती है Additional Explanation यह विकल्प सही समाधान नहीं है।
Verified Dictionary keys हमेशा integers होती हैं Dictionary keys हमेशा integers होती हैं Additional Explanation यह विकल्प सही समाधान नहीं है।