Computer Science, asked by Fhdjfjfj3817, 11 months ago

Print(""abcabcab"".split(‘c’))

Answers

Answered by sujoy51648
1

Answer:

split in python.

Explanation:

pls on brainly.pls.....................................................................................................................................................................................................

Answered by codiepienagoya
1

Split function in Python:

Output:

['ab', 'ab', 'ab']

Explanation:

  • In the given python code, the print() method is used, which includes a string value that is "abcabcab" and use a split() method, inside that method a single character 'c' is passed, that print above output.  
  • The split() is a procedure that divides a string into a list. It also is known as a separator that can be specified, any white space can be the standard separator.  
  • It is collection would include the selected number of items as well as about one because the max split is defined.

Learn more:

  • sum into split method: https://brainly.in/question/9168571

Similar questions