<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def remove_security_group(self, name):
 """ Remove a security group from container """

        for group in self.security_groups:
            if group.isc_name == name:
                group.delete()