def create_folder(folder_name, parent_folder_id, drive):
    """
    Creates folder in drive with title = folder_name
    
    Parameters
    ------------
    folder_name : string
        name of folder
    parent_folder_id : string
        ID of the parent folder
    drive : pydrive.GoogleDrive() object
    
    Returns
    ------------
    id of the created folder : string

    """
    
    folder = drive.CreateFile({'parents' : [{'id' : parent_folder_id}],'mimeType' : 'application/vnd.google-apps.folder', 'title' : folder_name})
    folder.Upload(param={'supportsAllDrives' : True})
    return folder['id']