def CreateSpreadsheet(sheets_service, title, sheet_titles):
    """Creates an empty spreadsheet.

    It creates a spreadsheet with the provided title, and creates a sheet for
    each entry in the sheet_titles list with the corresponding sheet title.
    """
    sheets = []
    for sheet_title in sheet_titles:
        sheet = {
            'properties': {
                'title': sheet_title,
             },
        }
        sheets.append(sheet)

    spreadsheet = {
        'properties': {
            'title': title,
        },
        'sheets': sheets,
    }
    return sheets_service.spreadsheets().create(body=spreadsheet).execute()