<Apti
Code
/>
Back
Question 510: In Python, how can you access the attributes of an object?
tcs
wipro
infosys
general
aptitude
objects
python-programming
The attributes of an object in Python are accessed using the dot notation:object.attribute.
Using theobject.attributessyntax
Using theobject[attribute]syntax
Using theobject.attributesyntax
Using theget(object, attribute)function
Submit Answer
Show Answer
Previous
Next