Tuition Fee
Start Date
Medium of studying
Duration
Details
Program Details
Degree
Courses
Major
Career and Technical Education | Career Counseling | Career Development
Area of study
Education
Course Language
English
About Program
Program Overview
Program Details
Overview
The Entrance Education Course for Freshstudents has the following details:
- COURSE ID: CREDITS: 1
- HOURS PER WEEK: 2
- TOTAL HOURS: 34
# Check if the input contains a 404 Error or is invalid
if "404 Error" in context or not context:
return "NA"
# Extract program details
lines = context.splitlines()
program_details = []
for line in lines:
if line.strip():
program_details.append(line.strip())
# Format the extracted text in markdown
markdown_text = "## Program Details\n"
markdown_text += "### Overview\n"
markdown_text += "The Entrance Education Course for Freshstudents has the following details:\n"
for detail in program_details:
if detail.startswith("###") or detail.startswith("##"):
continue
markdown_text += f"- {detail}\n"
return markdown_text
context = """### Context:
Entrance Education Course for Freshstudents COURSE ID: CREDITS: 1
HOURS PER WEEK: 2 TOTAL HOURS: 34"""
print(extract_program_details(context))
See More
