a) To access the attribute of the object
b) To delete an attribute
c) To check if an attribute exists or not
d) To set an attribute
What is getattr() used for?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What is getattr() used for?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!