We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c707169 commit ab8fb6aCopy full SHA for ab8fb6a
README.md
@@ -83,11 +83,7 @@ This repository is part of the [Competitive Programmig guide](https://github.com
83
| I/O |Python-print|[Python](python/python-print.py)|
84
| Data Structure |List|[Python](python/list.py)|
85
| Python Loops |Loops|[Python](python/loop.py)|
86
-
87
88
89
90
+| Split and join |Strings |[Python](python/split_and_join.py)|
91
92
## 10 Days Javascript
93
python/split_and_join.py
@@ -0,0 +1,6 @@
1
+# https://www.hackerrank.com/challenges/python-string-split-and-join/problem
2
+def split_and_join(line):
3
+ # write your code here
4
+ # .join() with lists
5
+ line = line.replace(" ", "-")
6
+ return line
0 commit comments