From the lesson: 6.8: Data entry errors and how to stop them
Write four small functions for a data entry system. The first counts the places where two texts differ. The second finds a transposition. The third names the type of error. The fourth checks a phone number. Read the comments in the starter.
main.py
Write your answer in main.py. To try it, add a few print(...) lines at the bottom and run python3 main.py.
Read the free lesson preview, which explains the idea and lets you try its first activities. All the lessons have free previews.
There is no answer file and no test here, on purpose. On the MitsuruTech Learning Platform a teacher can set this task for a class and have it marked for them. A college account is free for the first year for up to 50 students.
Licensed under CC BY-NC-SA 4.0 by Mitsuru Technologies Ltd.