bpo-30621: Update Input Output Tutorial Example(GH-2074) (GH-2118)

import json before using json module
(cherry picked from commit 1dbce04d0e3e93b715eb0d8024da396361759d16)
1 file changed