Home / Questions / Other Dictionary comprehension का उदाहरण क्या है? — error आने पर developer क्या करे? Other 0 Views Verified Dictionary comprehension का उदाहरण क्या है? — error आने पर developer क्या करे? #python #python programming #coding #developer Sarkari Result QA Bank Editorially reviewed exam information Share
Verified dict[x=x*x for x in numbers] dict[x=x*x for x in numbers] Additional Explanation यह विकल्प सही समाधान नहीं है।
Verified Correct Answer {x: x*x for x in numbers} {x: x*x for x in numbers} Additional Explanation Curly braces with key:value dictionary comprehension बनाते हैं। पहले traceback की exact line और input value check करें।
Verified dictionary(x*x for x in numbers) dictionary(x*x for x in numbers) Additional Explanation यह विकल्प सही समाधान नहीं है।
Verified {x => x*x for x in numbers} {x => x*x for x in numbers} Additional Explanation यह विकल्प सही समाधान नहीं है।