Add relational operators.

这个提交包含在:
Josh Mudge 2018-12-27 18:03:18 -07:00
父节点 4aaf387c89
当前提交 04a799c56e
共有 1 个文件被更改,包括 19 次插入0 次删除

查看文件

@ -87,12 +87,31 @@ strings"""
True = int(1)
False = int(0)
## Relational Operators (ch.4, ex. 3)
`==` returns `True` if is is equal and returns `False` otherwise.
`!=` returns `True` if is is NOT equal and returns `False` otherwise.
Here are more of he same kind of operator:
`>` greater than
`<` less than
`>=` greater than or equal to
`<=` less than or equal to
# Datatypes
Force treating as a string: str(7)
Force treating as an integer: int("7")
Froce treating as a float: float(7)
## Check Datatypes
Check datatypes using type(var)
# Escaping Characters
Simply add a `\` to escape a character that would otherwise cause issues.