I would like to know if it is possible to create struct variables and their respective fields in Python as it is possible in MATLAB.
For example: I want to create a struct variable with the name of a person and their characteristics as fields:
John.name = 'John'
John.age = 30
John.sex = 'Male'
John.height = 1.85
John.weight = 85
Then I will perform some operations with these variables, for example checking if John is over 18:
if John.age > 18: ....