Python programming exercises, I

open(path,mode) Return a Python file object for reading or writing the file located at path. Mode is one of ’r’, ’w’ or ’a’ for ... can assume stream is formed of ASCII characters. 1.Write test cases for the function, before writing it. At the very least, check: ................
................