Retired

Learn split method (retired)

Description:

Hello friend! This is my first kata. In it, you have to learn how to use the split() method, which helps to split a string into parts. Task: Write a function "split_string" that takes a word and a separator and returns the separated word For example:

pharse = "Hello World", sep = " "
"Hello World" => ["Hello", "World"]
pharse = "How are you?", sep = " "
"How are you?" => ["How", "are", ""You?]

Enjoy it;)

Fundamentals
Strings
Logic
Puzzles

Stats:

CreatedMar 25, 2023
Warriors Trained10
Total Skips0
Total Code Submissions14
Total Times Completed7
Python Completions7
Total Stars1
% of votes with a positive feedback rating17% of 6
Total "Very Satisfied" Votes1
Total "Somewhat Satisfied" Votes0
Total "Not Satisfied" Votes5
Total Rank Assessments6
Average Assessed Rank
8 kyu
Highest Assessed Rank
7 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • kaluginpeter Avatar
Ad