Home / Questions / Other File में existing content के अंत में जोड़ने के लिए कौन सा mode है? — error आने पर developer क्या करे? Other 0 Views Verified File में existing content के अंत में जोड़ने के लिए कौन सा mode है? — error आने पर developer क्या करे? #python #python programming #coding #developer Sarkari Result QA Bank Editorially reviewed exam information Share
Verified Correct Answer open('data.txt', 'a', encoding='utf-8') open('data.txt', 'a', encoding='utf-8') Additional Explanation a append mode है। पहले traceback की exact line और input value check करें।
Verified open('data.txt', 'w+') open('data.txt', 'w+') Additional Explanation यह विकल्प सही समाधान नहीं है।
Verified open('data.txt', 'append') open('data.txt', 'append') Additional Explanation यह विकल्प सही समाधान नहीं है।
Verified open('data.txt', 'add') open('data.txt', 'add') Additional Explanation यह विकल्प सही समाधान नहीं है।