|
print()
|
A command used to print something
|
|
int()
|
A command used to convert any kinds of number into integer
|
|
float()
|
A command used to convert any kinds of number into decimal numbers
|
|
input()
|
A command used to obtain information from the user
|
|
str()
|
A command used to convert letters or numbers into a string
|
|
len()
|
A command used to determine the length of a string
|
|
#
|
A command used to make statements a comment that does not have any effect on the coding
|
|
==
|
equal to
|
|
!=
|
not equal to
|
|
<
|
less than
|
|
>
|
more than
|
|
<=
|
less than or equal to
|
|
>=
|
more than or equal to
|
|
%
|
Modulo, used to find a remainder
|
|
Variable
|
Hold a value and can be changed. It can also be set to a string of words
|
|
String
|
A list of character such as number,letter and symbols
|
|
Integer number
|
Whole number/counting number
|
|
Floating point
|
Numerical values in decimal
|
|
Syntax
|
Grammar/Structure of language
|
|
Modulo
|
Used to find a remainder
|
|
Boolean
|
True or False
|
|
string+string
|
Combine the two strings together
|
|
string+number
|
CRASH!
|
|
number+number
|
Add numbers together
|
|
string*number
|
Duplicate the strings x time = numerical r values
|
|
string*string
|
CRASH!
|
|
number*number
|
multiply numbers together
|
|
string**string
|
CRASH!
|
|
number**number
|
Exponent(math)
|
|
string**number
|
CRASH!
|
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.