Computer Science, asked by minzayush7206, 7 months ago

explain the similarities and difference between split()and partition () function​

Answers

Answered by ayanachakraborty97
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