Cheatography
https://cheatography.com
Type of binary
Interger |
Number |
String |
Word with ".." |
Float |
decimal |
Boolean |
True/False |
Basic Command
Print() |
Show |
int() |
Change to integer |
float() |
Float |
str() |
String |
input() |
Ask for information |
len() |
Use for count a letter in string only |
# |
commenting single line |
""".........""" |
multiple lines commenting |
Capitla
name.upper() |
name.lower() |
|
|
Order in string
"123456"[0]
the first letter is 0 |
Number Symnols
==
equal to
!=
not equal to
<
less than
<=
less than or equal to
>
greater than
>=
greater than or equal to
+
add
-
subtract
*
multiply
/
divide
**
exponent
%
modulo: the remainder |
|
|
State
if /elif /else: only work one time in a series |
and/or/not
and |
both = true |
or |
only one is true= true |
not |
state the opposite |
|
Created By
Metadata
Comments
No comments yet. Add yours below!
Add a Comment