A multi-function basic operation Python script