Question: What Python mechanism is best suited for telling a user they are using a deprecated function

  1. sys.stdout
  2. traceback
  3. warnings
  4. exceptions

Answer: The correct answer of the above question is Option C:warnings