SQL injection in query

Code reviewMedium14 min

Your task

Review this Python code that looks up a user by name.