B2 – Random Case

Create a Python script named random_case.py that:
  1. Prompts the user for the name of an input file and output file.
  2. Reads the input file LINE BY LINE.
  3. Converts each character on each line to a random case (upper or lower).
  4. Writes the converted line to the output file.
Read and write the files line by line in the same loop! Use Gist and the Submission form to submit your code.