Can I use type as a name for a python function argument?
type
def fun(name, type): ....
You can use any non-keyword as an identifier (as long as it's a valid identifier of course). type is not a keyword, but using it will shadow the type built-in.