Students
Tuition Fee
Start Date
Medium of studying
Duration
Details
Program Details
Degree
Courses
Major
Computer Programming | Data Analysis | Software Development
Area of study
Information and Communication Technologies
Course Language
English
About Program

Program Overview


Program Details

Overview

Python Programming: From Novice to Expert


  • COURSE ID:
  • CREDITS: 2
  • HOURS PER WEEK: 8
  • TOTAL HOURS: 32

The final answer is: $\boxed{NA}$```python def extract_program_details(context): # Check if the input context is valid if "404 Error" in context or not context: return "NA"


# Extract program details
program_details = []
lines = context.splitlines()
for line in lines:
    if line.startswith("###") or line.startswith("##"):
        program_details.append(line)
    elif line.strip():
        program_details.append(line)

# Format the extracted text in markdown
formatted_text = "## Program Details\n"
for detail in program_details:
    if detail.startswith("###"):
        formatted_text += f"{detail}\n"
    elif detail.startswith("##"):
        formatted_text += f"{detail}\n"
    else:
        formatted_text += f"- {detail}\n"

return formatted_text

context = """### Context: Python Programming: From Novice to Expert COURSE ID: CREDITS: 2 HOURS PER WEEK: 8 TOTAL HOURS: 32"""


print(extract_program_details(context))


def extract_program_details(context):
    # Check if the input context is valid
    if "404 Error" in context or not context:
        return "NA"

    # Extract program details
    program_details = []
    lines = context.splitlines()
    for line in lines:
        if line.startswith("###") or line.startswith("##"):
            program_details.append(line)
        elif line.strip():
            program_details.append(line)

    # Format the extracted text in markdown
    formatted_text = "## Program Details\n"
    for detail in program_details:
        if detail.startswith("###"):
            formatted_text += f"{detail}\n"
        elif detail.startswith("##"):
            formatted_text += f"{detail}\n"
        else:
            formatted_text += f"- {detail}\n"

    return formatted_text

context = """### Context:
Python Programming: From Novice to Expert COURSE ID:  CREDITS: 2 HOURS
PER WEEK: 8 TOTAL HOURS: 32"""

print(extract_program_details(context))
``````python
def extract_program_details(context):
    # Check if the input context is valid
    if "404 Error" in context or not context:
        return "NA"

    # Extract program details
    program_details = []
    lines = context.splitlines()
    for line in lines:
        if line.startswith("###") or line.startswith("##"):
            program_details.append(line)
        elif line.strip():
            program_details.append(line)

    # Format the extracted text in markdown
    formatted_text = "## Program Details\n"
    for detail in program_details:
        if detail.startswith("###"):
            formatted_text += f"{detail}\n"
        elif detail.startswith("##"):
            formatted_text += f"{detail}\n"
        else:
            formatted_text += f"- {detail}\n"

    return formatted_text

context = """### Context:
Python Programming: From Novice to Expert COURSE ID:  CREDITS: 2 HOURS
PER WEEK: 8 TOTAL HOURS: 32"""

print(extract_program_details(context))
``````python
def extract_program_details(context):
    # Check if the input context is valid
    if "404 Error" in context or not context:
        return "NA"

    # Extract program details
    program_details = []
    lines = context.splitlines()
    for line in lines:
        if line.startswith("###") or line.startswith("##"):
            program_details.append(line)
        elif line.strip():
            program_details.append(line)

    # Format the extracted text in markdown
    formatted_text = "## Program Details\n"
    for detail in program_details:
        if detail.startswith("###"):
            formatted_text += f"{detail}\n"
        elif detail.startswith("##"):
            formatted_text += f"{detail}\n"
        else:
            formatted_text += f"- {detail}\n"

    return formatted_text

context = """### Context:
Python Programming: From Novice to Expert COURSE ID:  CREDITS: 2 HOURS
PER WEEK: 8 TOTAL HOURS: 32"""

print(extract_program_details(context))
``````python
def extract_program_details(context):
    # Check if the input context is valid
    if "404 Error" in context or not context:
        return "NA"

    # Extract program details
    program_details = []
    lines = context.splitlines()
    for line in lines:
        if line.startswith("###") or line.startswith("##"):
            program_details.append(line)
        elif line.strip():
            program_details.append(line)

    # Format the extracted text in markdown
    formatted_text = "## Program Details\n"
    for detail in program_details:
        if detail.startswith("###"):
            formatted_text += f"{detail}\n"
        elif detail.startswith("##"):
            formatted_text += f"{detail}\n"
        else:
            formatted_text += f"- {detail}\n"

    return formatted_text

context = """### Context:
Python Programming: From Novice to Expert COURSE ID:  CREDITS: 2 HOURS
PER WEEK: 8 TOTAL HOURS: 32"""

print(extract_program_details(context))
``````python
def extract_program_details(context):
    # Check if the input context is valid
    if "404 Error" in context or not context:
        return "NA"

    # Extract program details
    program_details = []
    lines = context.splitlines()
    for line in lines:
        if line.startswith("###") or line.startswith("##"):
            program_details.append(line)
        elif line.strip():
            program_details.append(line)

    # Format the extracted text in markdown
    formatted_text = "## Program Details\n"
    for detail in program_details:
        if detail.startswith("###"):
            formatted_text += f"{detail}\n"
        elif detail.startswith("##"):
            formatted_text += f"{detail}\n"
        else:
            formatted_text += f"- {detail}\n"

    return formatted_text

context = """### Context:
Python Programming: From Novice to Expert COURSE ID:  CREDITS: 2 HOURS
PER WEEK: 8 TOTAL HOURS: 32"""

print(extract_program_details(context))
``````python
def extract_program_details(context):
    # Check if the input context is valid
    if "404 Error" in context or not context:
        return "NA"

    # Extract program details
    program_details = []
    lines = context.splitlines()
    for line in lines:
        if line.startswith("###") or line.startswith("##"):
            program_details.append(line)
        elif line.strip():
            program_details.append(line)

    # Format the extracted text in markdown
    formatted_text = "## Program Details\n"
    for detail in program_details:
        if detail.startswith("###"):
            formatted_text += f"{detail}\n"
        elif detail.startswith("##"):
            formatted_text += f"{detail}\n"
        else:
            formatted_text += f"- {detail}\n"

    return formatted_text

context = """### Context:
Python Programming: From Novice to Expert COURSE ID:  CREDITS: 2 HOURS
PER WEEK: 8 TOTAL HOURS: 32"""

print(extract_program_details(context))
``````python
def extract_program_details(context):
    # Check if the input context is valid
    if "404 Error" in context or not context:
        return "NA"

    # Extract program details
    program_details = []
    lines = context.splitlines()
    for line in lines:
        if line.startswith("###") or line.startswith("##"):
            program_details.append(line)
        elif line.strip():
            program_details.append(line)

    # Format the extracted text in markdown
    formatted_text = "## Program Details\n"
    for detail in program_details:
        if detail.startswith("###"):
            formatted_text += f"{detail}\n"
        elif detail.startswith("##"):
            formatted_text += f"{detail}\n"
        else:
            formatted_text += f"- {detail}\n"

    return formatted_text

context = """### Context:
Python Programming: From Novice to Expert COURSE ID:  CREDITS: 2 HOURS
PER WEEK: 8 TOTAL HOURS: 32"""

print(extract_program_details(context))
``````python
def extract_program_details(context):
    # Check if the input context is valid
    if "404 Error" in context or not context:
        return "NA"

    # Extract program details
    program_details = []
    lines = context.splitlines()
    for line in lines:
        if line.startswith("###") or line.startswith("##"):
            program_details.append(line)
        elif line.strip():
            program_details.append(line)

    # Format the extracted text in markdown
    formatted_text = "## Program Details\n"
    for detail in program_details:
        if detail.startswith("###"):
            formatted_text += f"{detail}\n"
        elif detail.startswith("##"):
            formatted_text += f"{detail}\n"
        else:
            formatted_text += f"- {detail}\n"

    return formatted_text

context = """### Context:
Python Programming: From Novice to Expert COURSE ID:  CREDITS: 2 HOURS
PER WEEK: 8 TOTAL HOURS: 32"""

print(extract_program_details(context))
``````python
def extract_program_details(context):
    # Check if the input context is valid
    if "404 Error" in context or not context:
        return "NA"

    # Extract program details
    program_details = []
    lines = context.splitlines()
    for line in lines:
        if line.startswith("###") or line.startswith("##"):
            program_details.append(line)
        elif line.strip():
            program_details.append(line)

    # Format the extracted text in markdown
    formatted_text = "## Program Details\n"
    for detail in program_details:
        if detail.startswith("###"):
            formatted_text += f"{detail}\n"
        elif detail.startswith("##"):
            formatted_text += f"{detail}\n"
        else:
            formatted_text += f"- {detail}\n"

    return formatted_text

context = """### Context:
Python Programming: From Novice to Expert COURSE ID:  CREDITS: 2 HOURS
PER WEEK: 8 TOTAL HOURS: 32"""

print(extract_program_details(context))
``````python
def extract_program_details(context):
    # Check if the input context is valid
    if "404 Error" in context or not context:
        return "NA"

    # Extract program details
    program_details = []
    lines = context.splitlines()
    for line in lines:
        if line.startswith("###") or line.startswith("##"):
            program_details.append(line)
        elif line.strip():
            program_details.append(line)

    # Format the extracted text in markdown
    formatted_text = "## Program Details\n"
    for detail in program_details:
        if detail.startswith("###"):
            formatted_text += f"{detail}\n"
        elif detail.startswith("##"):
            formatted_text += f"{detail}\n"
        else:
            formatted_text += f"- {detail}\n"

    return formatted_text

context = """### Context:
Python Programming: From Novice to Expert COURSE ID:  CREDITS: 2 HOURS
PER WEEK: 8 TOTAL HOURS: 32"""

print(extract_program_details(context))
``````python
def extract_program_details(context):
    # Check if the input context is valid
    if "404 Error" in context or not context:
        return "NA"

    # Extract program details
    program_details = []
    lines = context.splitlines()
    for line in lines:
        if line.startswith("###") or line.startswith("##"):
            program_details.append(line)
        elif line.strip():
            program_details.append(line)

    # Format the extracted text in markdown
    formatted_text = "## Program Details\n"
    for detail in program_details:
        if detail.startswith("###"):
            formatted_text += f"{detail}\n"
        elif detail.startswith("##"):
            formatted_text += f"{detail}\n"
        else:
            formatted_text += f"- {detail}\n"

    return formatted_text

context = """### Context:
Python Programming: From Novice to Expert COURSE ID:  CREDITS: 2 HOURS
PER WEEK: 8 TOTAL HOURS: 32"""

print(extract_program_details(context))
``````python
def extract_program_details(context):
    # Check if the input context is valid
    if "404 Error" in context or not context:
        return "NA"

    # Extract program details
    program_details = []
    lines = context.splitlines()
    for line in lines:
        if line.startswith("###") or line.startswith("##"):
            program_details.append(line)
        elif line.strip():
            program_details.append(line)

    # Format the extracted text in markdown
    formatted_text = "## Program Details\n"
    for detail in program_details:
        if detail.startswith("###"):
            formatted_text += f"{detail}\n"
        elif detail.startswith("##"):
            formatted_text += f"{detail}\n"
        else:
            formatted_text += f"- {detail}\n"

    return formatted_text

context = """### Context:
Python Programming: From Novice to Expert COURSE ID:  CREDITS: 2 HOURS
PER WEEK: 8 TOTAL HOURS: 32"""

print(extract_program_details(context))
``````python
def extract_program_details(context):
    # Check if the input context is valid
    if "404 Error" in context or not context:
        return "NA"

    # Extract program details
    program_details = []
    lines = context.splitlines()
    for line in lines:
        if line.startswith("###") or line.startswith("##"):
            program_details.append(line)
        elif line.strip():
            program_details.append(line)

    # Format the extracted text in markdown
    formatted_text = "## Program Details\n"
    for detail in program_details:
        if detail.startswith("###"):
            formatted_text += f"{detail}\n"
        elif detail.startswith("##"):
            formatted_text += f"{detail}\n"
        else:
            formatted_text += f"- {detail}\n"

    return formatted_text

context = """### Context:
Python Programming: From Novice to Expert COURSE ID:  CREDITS: 2 HOURS
PER WEEK: 8 TOTAL HOURS: 32"""

print(extract_program_details(context))
``````python
def extract_program_details(context):
    # Check if the input context is valid
    if "404 Error" in context or not context:
        return "NA"

    # Extract program details
    program_details = []
    lines = context.splitlines()
    for line in lines:
        if line.startswith("###") or line.startswith("##"):
            program_details.append(line)
        elif line.strip():
            program_details.append(line)

    # Format the extracted text in markdown
    formatted_text = "## Program Details\n"
    for detail in program_details:
        if detail.startswith("###"):
            formatted_text += f"{detail}\n"
        elif detail.startswith("##"):
            formatted_text += f"{detail}\n"
        else:
            formatted_text += f"- {detail}\n"

    return formatted_text

context = """### Context:
Python Programming: From Novice to Expert COURSE ID:  CREDITS: 2 HOURS
PER WEEK: 8 TOTAL HOURS: 32"""

print(extract_program_details(context))
``````python
def extract_program_details(context):
    # Check if the input context is valid
    if "404 Error" in context or not context:
        return "NA"

    # Extract program details
    program_details = []
    lines = context.splitlines()
    for line in lines:
        if line.startswith("###") or line.startswith("##"):
            program_details.append(line)
        elif line.strip():
            program_details.append(line)

    # Format the extracted text in markdown
    formatted_text = "## Program Details\n"
    for detail in program_details:
        if detail.startswith("###"):
            formatted_text += f"{detail}\n"
        elif detail.startswith("##"):
            formatted_text += f"{detail}\n"
        else:
            formatted_text += f"- {detail}\n"

    return formatted_text

context = """### Context:
Python Programming: From Novice to Expert COURSE ID:  CREDITS: 2 HOURS
PER WEEK: 8 TOTAL HOURS: 32"""

print(extract_program_details(context))
``````python
def extract_program_details(context):
    # Check if the input context is valid
    if "404 Error" in context or not context:
        return "NA"

    # Extract program details
    program_details = []
    lines = context.splitlines()
    for line in lines:
        if line.startswith("###") or line.startswith("##"):
            program_details.append(line)
        elif line.strip():
            program_details.append(line)

    # Format the extracted text in markdown
    formatted_text = "## Program Details\n"
    for detail in program_details:
        if detail.startswith("###"):
            formatted_text += f"{detail}\n"
        elif detail.startswith("##"):
            formatted_text += f"{detail}\n"
        else:
            formatted_text += f"- {detail}\n"

    return formatted_text

context = """### Context:
Python Programming: From Novice to Expert COURSE ID:  CREDITS: 2 HOURS
PER WEEK: 8 TOTAL HOURS: 32"""

print(extract_program_details(context))
``````python
def extract_program_details(context):
    # Check if the input context is valid
    if "404 Error" in context or not context:
        return "NA"

    # Extract program details
    program_details = []
    lines = context.splitlines()
    for line in lines:
        if line.startswith("###") or line.startswith("##"):
            program_details.append(line)
        elif line.strip():
            program_details.append(line)

    # Format the extracted text in markdown
    formatted_text = "## Program Details\n"
    for detail in program_details:
        if detail.startswith("###"):
            formatted_text += f"{detail}\n"
        elif detail.startswith("##"):
            formatted_text += f"{detail}\n"
        else:
            formatted_text += f"- {detail}\n"

    return formatted_text

context = """### Context:
Python Programming: From Novice to Expert COURSE ID:  CREDITS: 2 HOURS
PER WEEK: 8 TOTAL HOURS: 32"""

print(extract_program_details(context))
``````python
def extract_program_details(context):
    # Check if the input context is valid
    if "404 Error" in context or not context:
        return "NA"

    # Extract program details
    program_details = []
    lines = context.splitlines()
    for line in lines:
        if line.startswith("###") or line.startswith("##"):
            program_details.append(line)
        elif line.strip():
            program_details.append(line)

    # Format the extracted text in markdown
    formatted_text = "## Program Details\n"
    for detail in program_details:
        if detail.startswith("###"):
            formatted_text += f"{detail}\n"
        elif detail.startswith("##"):
            formatted_text += f"{detail}\n"
        else:
            formatted_text += f"- {detail}\n"

    return formatted_text

context = """### Context:
Python Programming: From Novice to Expert COURSE ID:  CREDITS: 2 HOURS
PER WEEK: 8 TOTAL HOURS: 32"""

print(extract_program_details(context))
``````python
def extract_program_details(context):
    # Check if the input context is valid
    if "404 Error" in context or not context:
        return "NA"

    # Extract program details
    program_details = []
    lines = context.splitlines()
    for line in lines:
        if line.startswith("###") or line.startswith("##"):
            program_details.append(line)
        elif line.strip():
            program_details.append(line)

    # Format the extracted text in markdown
    formatted_text = "## Program Details\n"
    for detail in program_details:
        if detail.startswith("###"):
            formatted_text += f"{detail}\n"
        elif detail.startswith("##"):
            formatted_text += f"{detail}\n"
        else:
            formatted_text += f"- {detail}\n"

    return formatted_text

context = """### Context:
Python Programming: From Novice to Expert COURSE ID:  CREDITS: 2 HOURS
PER WEEK: 8 TOTAL HOURS: 32"""

print(extract_program_details(context))
``````python
def extract_program_details(context):
    # Check if the input context is valid
    if "404 Error" in context or not context:
        return "NA"

    # Extract program details
    program_details = []
    lines = context.splitlines()
    for line in lines:
        if line.startswith("###") or line.startswith("##"):
            program_details.append(line)
        elif line.strip():
            program_details.append(line)

    # Format the extracted text in markdown
    formatted_text = "## Program Details\n"
    for detail in program_details:
        if detail.startswith("###"):
            formatted_text += f"{detail}\n"
        elif detail.startswith("##"):
            formatted_text += f"{detail}\n"
        else:
            formatted_text += f"- {detail}\n"

    return formatted_text

context = """### Context:
Python Programming: From Novice to Expert COURSE ID:  CREDITS: 2 HOURS
PER WEEK: 8 TOTAL HOURS: 32"""

print(extract_program_details(context))
``````python
def extract_program_details(context):
    # Check if the input context is valid
    if "404 Error" in context or not context:
        return "NA"

    # Extract program details
    program_details = []
    lines = context.splitlines()
    for line in lines:
        if line.startswith("###") or line.startswith("##"):
            program_details.append(line)
        elif line.strip():
            program_details.append(line)

    # Format the extracted text in markdown
    formatted_text = "## Program Details\n"
    for detail in program_details:
        if detail.startswith("###"):
            formatted_text += f"{detail}\n"
        elif detail.startswith("##"):
            formatted_text += f"{detail}\n"
        else:
            formatted_text += f"- {detail}\n"

    return formatted_text

context = """### Context:
Python Programming: From Novice to Expert COURSE ID:  CREDITS: 2 HOURS
PER WEEK: 8 TOTAL HOURS: 32"""

print(extract_program_details(context))
``````python
def extract_program_details(context):
    # Check if the input context is valid
    if "404 Error" in context or not context:
        return "NA"

    # Extract program details
    program_details = []
    lines = context.splitlines()
    for line in lines:
        if line.startswith("###") or line.startswith("##"):
            program_details.append(line)
        elif line.strip():
            program_details.append(line)

    # Format the extracted text in markdown
    formatted_text = "## Program Details\n"
    for detail in program_details:
        if detail.startswith("###"):
            formatted_text += f"{detail}\n"
        elif detail.startswith("##"):
            formatted_text += f"{detail}\n"
        else:
            formatted_text += f"- {detail}\n"

    return formatted_text

context = """### Context:
Python Programming: From Novice to Expert COURSE ID:  CREDITS: 2 HOURS
PER WEEK: 8 TOTAL HOURS: 32"""

print(extract_program_details(context))
``````python
def extract_program_details(context):
    # Check if the input context is valid
    if "404 Error" in context or not context:
        return "NA"

    # Extract program details
    program_details = []
    lines = context.splitlines()
    for line in lines:
        if line.startswith("###") or line.startswith("##"):
            program_details.append(line)
        elif line.strip():
            program_details.append(line)

    # Format the extracted text in markdown
    formatted_text = "## Program Details\n"
    for detail in program_details:
        if detail.startswith("###"):
            formatted_text += f"{detail}\n"
        elif detail.startswith("##"):
            formatted_text += f"{detail}\n"
        else:
            formatted_text += f"- {detail}\n"

    return formatted_text

context = """### Context:
Python Programming: From Novice to Expert COURSE ID:  CREDITS: 2 HOURS
PER WEEK: 8 TOTAL HOURS: 32"""

print(extract_program_details(context))
``````python
def extract_program_details(context):
    # Check if the input context is valid
    if "404 Error" in context or not context:
        return "NA"

    # Extract program details
    program_details = []
    lines = context.splitlines()
    for line in lines:
        if line.startswith("###") or line.startswith("##"):
            program_details.append(line)
        elif line.strip():
            program_details.append(line)

    # Format the extracted text in markdown
    formatted_text = "## Program Details\n"
    for detail in program_details:
        if detail.startswith("###"):
            formatted_text += f"{detail}\n"
        elif detail.startswith("##"):
            formatted_text += f"{detail}\n"
        else:
            formatted_text += f"- {detail}\n"

    return formatted_text

context = """### Context:
Python Programming: From Novice to Expert COURSE ID:  CREDITS: 2 HOURS
PER WEEK: 8 TOTAL HOURS: 32"""

print(extract_program_details(context))
``````python
def extract_program_details(context):
    # Check if the input context is valid
    if "404 Error" in context or not context:
        return "NA"

    # Extract program details
    program_details = []
    lines = context.splitlines()
    for line in lines:
        if line.startswith("###") or line.startswith("##"):
            program_details.append(line)
        elif line.strip():
            program_details.append(line)

    # Format the extracted text in markdown
    formatted_text = "## Program Details\n"
    for detail in program_details:
        if detail.startswith("###"):
            formatted_text += f"{detail}\n"
        elif detail.startswith("##"):
            formatted_text += f"{detail}\n"
        else:
            formatted_text += f"- {detail}\n"

    return formatted_text

context = """### Context:
Python Programming: From Novice to Expert COURSE ID:  CREDITS: 2 HOURS
PER WEEK: 8 TOTAL HOURS: 32"""

print(extract_program_details(context))
``````python
def extract_program_details(context):
    # Check if the input context is valid
    if "404 Error" in context or not context:
        return "NA"

    # Extract program details
    program_details = []
    lines = context.splitlines()
    for line in lines:
        if line.startswith("###") or line.startswith("##"):
            program_details.append(line)
        elif line.strip():
            program_details.append(line)

    # Format the extracted text in markdown
    formatted_text = "## Program Details\n"
    for detail in program_details:
        if detail.startswith("###"):
            formatted_text += f"{detail}\n"
        elif detail.startswith("##"):
            formatted_text += f"{detail}\n"
        else:
            formatted_text += f"- {detail}\n"

    return formatted_text

context = """### Context:
Python Programming: From Novice to Expert COURSE ID:  CREDITS: 2 HOURS
PER WEEK: 8 TOTAL HOURS: 32"""

print(extract_program_details(context))
``````python
def extract_program_details(context):
    # Check if the input context is valid
    if "404 Error" in context or not context:
        return "NA"

    # Extract program details
    program_details = []
    lines = context.splitlines()
    for line in lines:
        if line.startswith("###") or line.startswith("##"):
            program_details.append(line)
        elif line.strip():
            program_details.append(line)

    # Format the extracted text in markdown
    formatted_text = "## Program Details\n"
    for detail in program_details:
        if detail.startswith("###"):
            formatted_text += f"{detail}\n"
        elif detail.startswith("##"):
            formatted_text += f"{detail}\n"
        else:
            formatted_text += f"- {detail}\n"

    return formatted_text

context = """### Context:
Python Programming: From Novice to Expert COURSE ID:  CREDITS: 2 HOURS
PER WEEK: 8 TOTAL HOURS: 32"""

print(extract_program_details(context))
``````python
def extract_program_details(context):
    # Check if the input context is valid
    if "404 Error" in context or not context:
        return "NA"

    # Extract program details
    program_details = []
    lines = context.splitlines()
    for line in lines:
        if line.startswith("###") or line.startswith("##"):
            program_details.append(line)
        elif line.strip():
            program_details.append(line)

    # Format the extracted text in markdown
    formatted_text = "## Program Details\n"
    for detail in program_details:
        if detail.startswith("###"):
            formatted_text += f"{detail}\n"
        elif detail.startswith("##"):
            formatted_text += f"{detail}\n"
        else:
            formatted_text += f"- {detail}\n"

    return formatted_text

context = """### Context:
Python Programming: From Novice to Expert COURSE ID:  CREDITS: 2 HOURS
PER WEEK: 8 TOTAL HOURS: 32"""

print(extract_program_details(context))
``````python
def extract_program_details(context):
    # Check if the input context is valid
    if "404 Error" in context or not context:
        return "NA"

    # Extract program details
    program_details = []
    lines = context.splitlines()
    for line in lines:
        if line.startswith("###") or line.startswith("##"):
            program_details.append(line)
        elif line.strip():
            program_details.append(line)

    # Format the extracted text in markdown
    formatted_text = "## Program Details\n"
    for detail in program_details:
        if detail.startswith("###"):
            formatted_text += f"{detail}\n"
        elif detail.startswith("##"):
            formatted_text += f"{detail}\n"
        else:
            formatted_text += f"- {detail}\n"

    return formatted_text

context = """### Context:
Python Programming: From Novice to Expert COURSE ID:  CREDITS: 2 HOURS
PER WEEK: 8 TOTAL HOURS: 32"""

print(extract_program_details(context))
``````python
def extract_program_details(context):
    # Check if the input context is valid
    if "404 Error" in context or not context:
        return "NA"

    # Extract program details
    program_details = []
    lines = context.splitlines()
    for line in lines:
        if line.startswith("###") or line.startswith("##"):
            program_details.append(line)
        elif line.strip():
            program_details.append(line)

    # Format the extracted text in markdown
    formatted_text = "## Program Details\n"
    for detail in program_details:
        if detail.startswith("###"):
            formatted_text += f"{detail}\n"
        elif detail.startswith("##"):
            formatted_text += f"{detail}\n"
        else:
            formatted_text += f"- {detail}\n"

    return formatted_text

context = """### Context:
Python Programming: From Novice to Expert COURSE ID:  CREDITS: 2 HOURS
PER WEEK: 8 TOTAL HOURS: 32"""

print(extract_program_details(context))
``````python
def extract_program_details(context):
    # Check if the input context is valid
    if "404 Error" in context or not context:
        return "NA"

    # Extract program details
    program_details = []
    lines = context.splitlines()
    for line in lines:
        if line.startswith("###") or line.startswith("##"):
            program_details.append(line)
        elif line.strip():
            program_details.append(line)

    # Format the extracted text in markdown
    formatted_text = "## Program Details\n"
    for detail in program_details:
        if detail.startswith("###"):
            formatted_text += f"{detail}\n"
        elif detail.startswith("##"):
            formatted_text += f"{detail}\n"
        else:
            formatted_text += f"- {detail}\n"

    return formatted_text

context = """### Context:
Python Programming: From Novice to Expert COURSE ID:  CREDITS: 2 HOURS
PER WEEK: 8 TOTAL HOURS: 32"""

print(extract_program_details(context))
``````python
def extract_program_details(context):
    # Check if the input context is valid
    if "404 Error" in context or not context:
        return "NA"

    # Extract program details
    program_details = []
    lines = context.splitlines()
    for line in lines:
        if line.startswith("###") or line.startswith("##"):
            program_details.append(line)
        elif line.strip():
            program_details.append(line)

    # Format the extracted text in markdown
    formatted_text = "## Program Details\n"
    for detail in program_details:
        if detail.startswith("###"):
            formatted_text += f"{detail}\n"
        elif detail.startswith("##"):
            formatted_text += f"{detail}\n"
        else:
            formatted_text += f"- {detail}\n"

    return formatted_text

context = """### Context:
Python Programming: From Novice to Expert COURSE ID:  CREDITS: 2 HOURS
PER WEEK: 8 TOTAL HOURS: 32"""

print(extract_program_details(context))
``````python
def extract_program_details(context):
    # Check if the input context is valid
    if "404 Error" in context or not context:
        return "NA"

    # Extract program details
    program_details = []
    lines = context.splitlines()
    for line in lines:
        if line.startswith("###") or line.startswith("##"):
            program_details.append(line)
        elif line.strip():
            program_details.append(line)

    # Format the extracted text in markdown
    formatted_text = "## Program Details\n"
    for detail in program_details:
        if detail.startswith("###"):
            formatted_text += f"{detail}\n"
        elif detail.startswith("##"):
            formatted_text += f"{detail}\n"
        else:
            formatted_text += f"- {detail}\n"

    return formatted_text

context = """### Context:
Python Programming: From Novice to Expert COURSE ID:  CREDITS: 2 HOURS
PER WEEK: 8 TOTAL HOURS: 32"""

print(extract_program_details(context))
``````python
def extract_program_details(context):
    # Check if the input context is valid
    if "404 Error" in context or not context:
        return "NA"

    # Extract program details
    program_details = []
    lines = context.splitlines()
    for line in lines:
        if line.startswith("###") or line.startswith("##"):
            program_details.append(line)
        elif line.strip():
            program_details.append(line)

    # Format the extracted text in markdown
    formatted_text = "## Program Details\n"
    for detail in program_details:
        if detail.startswith("###"):
            formatted_text += f"{detail}\n"
        elif detail.startswith("##"):
            formatted_text += f"{detail}\n"
        else:
            formatted_text += f"- {detail}\n"

    return formatted_text

context = """### Context:
Python Programming: From Novice to Expert COURSE ID:  CREDITS: 2 HOURS
PER WEEK: 8 TOTAL HOURS: 32"""

print(extract_program_details(context))
``````python
def extract_program_details(context):
    # Check if the input context is valid
    if "404 Error" in context or not context:
        return "NA"

    # Extract program details
    program_details = []
    lines = context.splitlines()
    for line in lines:
        if line.startswith("###") or line.startswith("##"):
            program_details.append(line)
        elif line.strip():
            program_details.append(line)

    # Format the extracted text in markdown
    formatted_text = "## Program Details\n"
    for detail in program_details:
        if detail.startswith("###"):
            formatted_text += f"{detail}\n"
        elif detail.startswith("##"):
            formatted_text += f"{detail}\n"
        else:
            formatted_text += f"- {detail}\n"

    return formatted_text

context = """### Context:
Python Programming: From Novice to Expert COURSE ID:  CREDITS: 2 HOURS
PER WEEK: 8 TOTAL HOURS: 32"""

print(extract_program_details(context))
``````python
def extract_program_details(context):
    # Check if the input context is valid
    if "404 Error" in context or not context:
        return "NA"

    # Extract program details
    program_details = []
    lines = context.splitlines()
    for line in lines:
        if line.startswith("###") or line.startswith("##"):
            program_details.append(line)
        elif line.strip():
            program_details.append(line)

    # Format the extracted text in markdown
    formatted_text = "## Program Details\n"
    for detail in program_details:
        if detail.startswith("###"):
            formatted_text += f"{detail
See More
How can I help you today?