|
Variable
|
can be changed
|
|
String
|
list of characters such as number, letters and symbols
|
|
integer
|
numer that not decimal
|
|
floating number
|
number include decimal
|
|
Syntax
|
Gramma
|
|
Modulo
|
Find a remainder
|
|
print
|
show the information
|
|
input()
|
receive information
|
|
int()
|
converts a value to an integer
|
|
float()
|
Change number to be decimal number
|
|
str()
|
A list of number
|
|
len()
|
The length of the string
|
|
=
|
equal
|
|
+
|
add
|
|
-
|
minus
|
|
*
|
multiply
|
|
/
|
divide
|
|
" "
|
quotation mark
|
|
**
|
power to
|
|
=<
|
more than or equal
|
|
=>
|
less than or equal
|
|
print (name.upper())
|
|
|
print (name.capitalize())
|
|
|
print (name.title())
|
|
|
print (name.lower())
|
|
string + string
|
combine together
|
|
number + number
|
math
|
|
string + number
|
crash
|
|
string * string
|
crash
|
|
string * number
|
combine that string multiple times
|
|
number ** number
|
math - exponents string ** number crash
|
|
number * number
|
math - multiply
|
|
string ** number
|
crash
|
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.