SarkariResultess QA Bank

String को separator से split कैसे करते हैं? — error आने पर developer क्या करे?

Other 0 Views Verified
String को separator से split कैसे करते हैं? — error आने पर developer क्या करे?
Sarkari Result QA Bank
Editorially reviewed exam information

Answer & Explanation

4 Answers
Verified

split(text, ',')

split(text, ',')
Additional Explanation
यह विकल्प सही समाधान नहीं है।
Verified

text.explode(',')

text.explode(',')
Additional Explanation
यह विकल्प सही समाधान नहीं है।
Verified Correct Answer

text.split(',')

text.split(',')
Additional Explanation
split separator के आधार पर list लौटाता है। पहले traceback की exact line और input value check करें।
Verified

text.divide(',')

text.divide(',')
Additional Explanation
यह विकल्प सही समाधान नहीं है।