|
string + string
|
combine together
|
|
string + number
|
crash
|
|
number + number
|
math - addition
|
|
print()
|
displays information on the screen
|
|
input()
|
receives information from the user
|
|
int()
|
converts a value to an integer
|
|
str()
|
A list of number, letter and symbols
|
|
len()
|
The length of the string.
|
|
#
|
comment, no effect
|
|
import random+random.choice()
|
pick random item in the list
|
|
variable
|
holds a value and can be changed
|
|
string
|
a list of characters such as numbers, letters, symbols
|
|
Integer number
|
Whole number/counting number
|
|
Floating point
|
The number in decimal
|
|
Syntax
|
Grammar/Structure og language
|
|
Modulo
|
Find the remainder
|
|
==
|
equal to
|
|
!=
|
not equal to
|
|
<
|
less than
|
|
>
|
more than
|
|
<=
|
less than or equal
|
|
>=
|
more than or equal
|
|
%
|
modulo, find the remainder
|
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.