Q. Which Python function is unsafe to use with untrusted input due to code execution risks?
β
Correct Answer: (A)
eval()
Explanation: eval() executes arbitrary code and should be avoided with untrusted input.