Skip to content

Commit

Permalink
Fix typo in intro-to-kotlin.md
Browse files Browse the repository at this point in the history
  • Loading branch information
twangodev committed Jul 24, 2023
1 parent d5b3bdc commit 5a1cfc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/programming/kotlin/fundamentals/intro-to-kotlin.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Why does this typing matter though? Let's break this down into a couple of exerc
If your answer was `John Doe`, you would be wrong. That would be the result if we were to add `John` and `Doe` with a space in between them. Don't worry about that though :hugging:

??? success "Adding two numbers, `14` + `3` = `???`"
If we were to add two numbers, `14` and `3`, we would get `17`. This is because the `+` operator is defined for numbers, and multiplies them together. Makes sense, right?
If we were to add two numbers, `14` and `3`, we would get `17`. This is because the `+` operator is defined for numbers, and adds them together. Makes sense, right?

??? failure "What about two **words**, `1` + `1` = `???`"
If we were to add two words, `1` and `1`, we would get `11`. This is because the `+` operator is defined for words, and concatenates them together.
Expand Down

0 comments on commit 5a1cfc0

Please sign in to comment.