|
COMMAND
|
|
|
print()
|
print info/command on the screen
|
|
int()
|
convert string to integers
|
|
str()
|
convert number to string
|
|
float()
|
convert integers to decimal
|
|
input()
|
to gain info/command from the user
|
|
len()
|
the length of the string
|
|
import
|
to import an external program
|
|
random.choice()
|
to choose randomly from a list
|
|
String
|
list of letters/number
|
|
Variable
|
value that can be change
|
|
Integer
|
whole number
|
|
Floating Point
|
decimal
|
|
Syntax
|
grammar
|
|
Boolean
|
ture/False
|
|
string+string
|
combine that string
|
|
string+number
|
crash
|
|
number+number
|
math-addition
|
|
String*number
|
combine that string
|
|
String**number
|
crash
|
|
number*number
|
math-multiply
|
|
number**number
|
math-exponent
|
|
string*string
|
crash
|
|
string**string
|
crash
|
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.