Skip to content

Commit 9032b3f

Browse files
author
Maksim Litvinov
committed
fix typo
1 parent 1d7ac2d commit 9032b3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/45-logic/10-bool-type/description.en.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ theory: |
55
66
As well as arithmetic operators, we also know comparison operators from school. For example, `5 > 4`. It sounds like a question, "Is 5 greater than 4?" The answer is "yes". In other cases, the answer may be "no", say, for `3 < 1`.
77
8-
Comparison operators aren't restricted to numbers. YYou can put them in almost anything, e.g., strings. Every time we visit a website, it compares the username and password we've entered with those in the database. If they exist, we are let in (authorized).
8+
Comparison operators aren't restricted to numbers. You can put them in almost anything, e.g., strings. Every time we visit a website, it compares the username and password we've entered with those in the database. If they exist, we are let in (authorized).
99
1010
Programming languages have borrowed all the comparison operators from math virtually unchanged. The only major change concerns the equality and inequality operators. In math, the usual equal sign is `=`, which is rare in programming. In many languages, the symbol `=` is used to assign values to variables, so you need to use `==` or `===` for comparison.
1111

0 commit comments

Comments
 (0)