Python’s Booleans and Comparisons
Coding is a new and hard learning skill for me. Python is what called a language in coding, some people say it is easy but it is really hard for me. The first three topics that I learn in the Technology/ Multimedia class are Booleans and Comparisons. For Booleans it is made to tell if something is true or false, ex:
“Hi” is not “Goodbye”. (true)
5 is 9. (false)
The comparison is for comparing two things. There are six types in the Comparisons:
- Equals, ex: a == c
- Not Equals, ex: a != c
- Less than, ex: c < b
- Less than or equal to, ex: d <= b
- Greater than, ex: a > d
- Greater than or equal to, ex: b >= b