def get_assignment_type(user_group):
 course_cohort = user_group.cohort
 return course_cohort.assignment_type

def get_assignment_type ( user_group ) : course_cohort = user_group . cohort return course_cohort . assignment_type
get assignment type for cohort .