Programming Languages Python Mcq
Sep 30, 2025

What is the difference between __dict__ and vars()?

Choose the correct answer:
A) __dict__ is attribute, vars() is function that returns __dict__
B) No difference
C) __dict__ is faster
D) vars() is deprecated
Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback