explain the similarities and difference between split()and partition () function
Answers
Answered by
25
Answer:
spilt() It splits the whole string on all occurrences of the white spaces, or on all the occurrences of the given argument
partition () Splits the string on the first occurrence of the white space from the left, or on the first occurrences of the given argument
Similar questions