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
Similar Kata:
Stats:
Created | Mar 25, 2023 |
Warriors Trained | 10 |
Total Skips | 0 |
Total Code Submissions | 14 |
Total Times Completed | 7 |
Python Completions | 7 |
Total Stars | 1 |
% of votes with a positive feedback rating | 17% of 6 |
Total "Very Satisfied" Votes | 1 |
Total "Somewhat Satisfied" Votes | 0 |
Total "Not Satisfied" Votes | 5 |
Total Rank Assessments | 6 |
Average Assessed Rank | 8 kyu |
Highest Assessed Rank | 7 kyu |
Lowest Assessed Rank | 8 kyu |