- Import Python Standard Library:
- import MODULE_NAME
- from MODULE_NAME import FUNCTION_NAME
- from MODULE_NAME import FUNCTION_NAME as ALIAS_NAME
- Finding and help: help() or MODULE_NAME.help() or MOUDLE_NAME.help(FUNCTION_NAME)
- Scalar built-in types
int float None bool
- easy conversions between types
- Relational operators
- == != < > <= >=
- Math operators
- / =- =+ + –
- Conditional Statements
if
else
elif
- Interrupt execution with Ctrl-C to create a KeyboardInterrupt exception
- Break out of loops using
break
- Request text from user using
input()
- You can also check types.
n = 36 if type(n) == int: print('WooHoo!!')