A

Admin • 833K Points
Coach

Q. Which Python function is unsafe to use with untrusted input due to code execution risks?

  • (A) eval()
  • (B) print()
  • (C) len()
  • (D) input()
  • Correct Answer - Option(A)
  • Views: 29
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

eval() executes arbitrary code and should be avoided with untrusted input.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.