Skip to content

Commit a1e18e3

Browse files
InfiniteVermagithub-actions[bot]
authored andcommitted
specify function names
* specify function names * [CI] Format code Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 2127027 commit a1e18e3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

exercises/concept/strings/.docs/instructions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ You have three tasks, each of which will take a log line and ask you to do somet
1212

1313
## 1. Extract a message from a log line
1414

15-
Implement a function to return a log line's message:
15+
Implement the `extract_message` to return a log line's message:
1616

1717
```python
1818
>>> extract_message("[ERROR]: Invalid operation")
@@ -28,7 +28,7 @@ The message should be trimmed of any whitespace.
2828

2929
## 2. Change a message's loglevel.
3030

31-
Implement a function that replaces a log line's current log level with a new one:
31+
Implement the `change_log_level` function to replace a log line's current log level with a new one:
3232

3333
```python
3434
>>> change_log_level("[INFO]: Fatal Error.", "ERROR")
@@ -37,7 +37,7 @@ Implement a function that replaces a log line's current log level with a new one
3737

3838
## 3. Reformat a log line
3939

40-
Implement a function that reformats the log line, putting the message first and the log level after it in parentheses:
40+
Implement the `reformat` function to reformat the log line, putting the message first and the log level after it in parentheses:
4141

4242
```python
4343
>>> reformat("[INFO]: Operation completed")

0 commit comments

Comments
 (0)