Home / Questions / Other Dictionary के key-value pairs पर कैसे loop करें? — error आने पर developer क्या करे? Other 0 Views Verified Dictionary के key-value pairs पर कैसे loop करें? — error आने पर developer क्या करे? #python #python programming #coding #developer Sarkari Result QA Bank Editorially reviewed exam information Share
Verified for key:value in data: for key:value in data: Additional Explanation यह विकल्प सही समाधान नहीं है।
Verified for (key,value) of data for (key,value) of data Additional Explanation यह विकल्प सही समाधान नहीं है।
Verified Correct Answer for key, value in data.items(): print(key, value) for key, value in data.items(): print(key, value) Additional Explanation items() key और value दोनों देता है। पहले traceback की exact line और input value check करें।
Verified foreach data as key,value: foreach data as key,value: Additional Explanation यह विकल्प सही समाधान नहीं है।