Administrator
|
Hi,
Brackets are due to the fact that the property value is a list in Python. You can either declare the properties as functional in order to have a single value instead of a list, or you can simply take the first value of the list as follows:
print(u.hasFirstName.first(), u.hasLastName.first())
Jiba
|