From 7e3233b478261a328b72f5f3e32c74ebc143feee Mon Sep 17 00:00:00 2001 From: stephen-hero <78870893+stephen-hero@users.noreply.github.com> Date: Wed, 20 Dec 2023 17:06:55 +0200 Subject: [PATCH] Update task.md (#207) language checked --- AlmostDone/StringFunctionsPartTwo/task.md | 50 +++++++++++------------ 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/AlmostDone/StringFunctionsPartTwo/task.md b/AlmostDone/StringFunctionsPartTwo/task.md index d7696ac8..f6f80b54 100644 --- a/AlmostDone/StringFunctionsPartTwo/task.md +++ b/AlmostDone/StringFunctionsPartTwo/task.md @@ -3,12 +3,12 @@ Let's implement the second filter! ### Task Implement the `applySquaredFilter` function. -For the border symbol, please use the pre-defined variable `borderSymbol`, it stores `#`: +For the border symbol, please use the predefined variable `borderSymbol`, which stores `#`: ```kotlin println(borderSymbol) // # ``` -
@@ -17,23 +17,23 @@ Here's an example of the function's work:
main
by passing one of the pre-defined pictures:
+To check how your function works, you can run it in main
by passing one of the predefined pictures:
```kotlin
fun main() {
- applyFilter(simba, "squared") // an example with simba picture
- applyFilter(monkey, "squared") // an example with monkey picture
- applyFilter(android, "squared") // an example with android picture (this picture has different length of lines)
+ applyFilter(simba, "squared") // an example with the simba picture
+ applyFilter(monkey, "squared") // an example with the monkey picture
+ applyFilter(android, "squared") // an example with the android picture (this picture has different line lengths)
}
```