classes can be used for -struct or fortran-type like data structures students py class studentdef __init__(selfnameage)self name name self age age instances can be used as items in lists stu student('jussi' stu student('martti' student_list [stu stu print student_list[ age