Skip to content

Commit 7cdb92d

Browse files
JakubDotPygithub-actions[bot]
authored andcommitted
Automated update
1 parent 94bfdeb commit 7cdb92d

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

output/abbreviate_a_two_word_name.py

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
"""Kata - Abbreviate a Two Word Name
2+
3+
completed at: 2024-04-04 12:38:10
4+
by: Jakub Červinka
5+
6+
Write a function to convert a name into initials. This kata strictly takes two words with one space in between them.
7+
8+
The output should be two capital letters with a dot separating them.
9+
10+
It should look like this:
11+
12+
`Sam Harris` => `S.H`
13+
14+
`patrick feeney` => `P.F`
15+
16+
~~~if:riscv
17+
RISC-V: The function signature is:
18+
19+
```c
20+
char *get_initials(const char *full_name, char initials[4]);
21+
```
22+
23+
Write your result to `initials`, and return that buffer.
24+
~~~
25+
"""
26+
27+
None

0 commit comments

Comments
 (0)