|
input()
|
Ask for information from user.
|
|
print()
|
Show information that we want on the scree.
|
|
int()
|
Change number to be number integer.
|
|
float()
|
Change number to be decimal.
|
|
str()
|
String. A list of number, letter, and symbol.
|
|
==
|
equal to
|
|
!=
|
not equal to
|
|
<
|
less than
|
|
>
|
more than
|
|
<=
|
less than or equal to
|
|
>=
|
more than or equal to
|
|
IF
|
|
|
ELSE
|
|
|
ELIF
|
|
Str + Str
|
Combine together. Like "1" + "2" = 12
|
|
Str + number
|
Crash
|
|
Number + Number
|
Sum, addition
|
|
str - number
|
crash
|
|
str - str
|
crash
|
|
number - number
|
Subtract
|
|
str / str
|
crash
|
|
str / number
|
crash
|
|
number / number
|
division
|
|
str * number
|
combine that string. "6" * 2 = '66'
|
|
str * str
|
crash
|
|
number * number
|
multiply
|
|
str ** str
|
crash
|
|
number ** number
|
exponent, power
|
|
str ** number
|
crash
|
|
Variable
|
Something that can change
|
|
String
|
a list of character like number, letter and symbols.
|
|
Integer Number
|
Whole number or Counting number
|
|
Float Number
|
The number into decimal number
|
|
Syntax
|
Structure of language
|
|
Loop
|
while
|
|
Input
|
Gain information from user
|
|
Print
|
Show information that we want on the screen.
|
|
random.choice()
|
random word in the list. need to put 'import random' at the top first.
|
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.