We will write a program called telephone.py that will mimic this game. It will print “You said: ” and the original text, followed by “I heard: ” with a modified version of the message. As in chapter 5, the input text may come from the command line:
$ ./telephone.py 'The quick brown fox jumps over the lazy dog.' You said: "The quick brown fox jumps over the lazy dog." I heard : "TheMquick brown fox jumps ovMr t:e lamy dog."
$ ./telephone.py ../inputs/fox.txt You said: "The quick brown fox jumps over the lazy dog." I heard : "The quick]b'own fox jumps ovek the la[y dog."