Understanding the Rationale of Environmental Issues
Beijing , China
Visit Program Website
Tuition Fee
Start Date
Medium of studying
Duration
Details
Program Details
Degree
Courses
Major
Ecology | Environmental Design | Environmental Sciences
Area of study
Natural Science
Course Language
English
About Program
Program Overview
Program Details
Course Overview
The course "Understanding the Rationale of Environmental Issues" has the following details:
- Course ID:
- Credits: 1
- Hours per week: 1
- Total hours: 17
The final answer is: $\boxed{NA}$```python
No imports needed
def extract_program_details(input_context): # Check if input contains a 404 Error or is invalid if "404 Error" in input_context or not input_context: return "NA"
# Extract relevant information
lines = input_context.splitlines()
program_details = []
for line in lines:
if line.startswith("###") or line.startswith("##"):
program_details.append(line)
elif ":" in line:
program_details.append(line)
# Format extracted text in markdown
formatted_details = "## Program Details\n"
for detail in program_details:
if detail.startswith("###"):
formatted_details += f"{detail}\n"
elif detail.startswith("##"):
formatted_details += f"{detail}\n"
else:
formatted_details += f"- {detail}\n"
return formatted_details
input_context = """
Context:
Understanding the Rationale of Environmental Issues COURSE ID: CREDITS: 1 HOURS PER WEEK: 1 TOTAL HOURS: 17 """
print(extract_program_details(input_context))
# No imports needed
def extract_program_details(input_context):
# Check if input contains a 404 Error or is invalid
if "404 Error" in input_context or not input_context:
return "NA"
# Extract relevant information
lines = input_context.splitlines()
program_details = []
for line in lines:
if line.startswith("###") or line.startswith("##"):
program_details.append(line)
elif ":" in line:
program_details.append(line)
# Format extracted text in markdown
formatted_details = "## Program Details\n### Course Overview\n"
for detail in program_details:
if detail.startswith("###"):
formatted_details += f"{detail}\n"
elif detail.startswith("##"):
formatted_details += f"{detail}\n"
else:
formatted_details += f"- {detail}\n"
return formatted_details
input_context = """
### Context:
Understanding the Rationale of Environmental Issues COURSE ID:
CREDITS: 1 HOURS PER WEEK: 1 TOTAL HOURS: 17
"""
print(extract_program_details(input_context))
``````python
# No imports needed
def extract_program_details(input_context):
# Check if input contains a 404 Error or is invalid
if "404 Error" in input_context or not input_context:
return "NA"
# Extract relevant information
lines = input_context.splitlines()
program_details = []
for line in lines:
if line.startswith("###") or line.startswith("##"):
program_details.append(line)
elif ":" in line:
program_details.append(line)
# Format extracted text in markdown
formatted_details = "## Program Details\n### Course Overview\n"
for detail in program_details:
if detail.startswith("###"):
formatted_details += f"{detail}\n"
elif detail.startswith("##"):
formatted_details += f"{detail}\n"
else:
formatted_details += f"- {detail}\n"
return formatted_details
input_context = """
### Context:
Understanding the Rationale of Environmental Issues COURSE ID:
CREDITS: 1 HOURS PER WEEK: 1 TOTAL HOURS: 17
"""
print(extract_program_details(input_context))
``````python
# No imports needed
def extract_program_details(input_context):
# Check if input contains a 404 Error or is invalid
if "404 Error" in input_context or not input_context:
return "NA"
# Extract relevant information
lines = input_context.splitlines()
program_details = []
for line in lines:
if line.startswith("###") or line.startswith("##"):
program_details.append(line)
elif ":" in line:
program_details.append(line)
# Format extracted text in markdown
formatted_details = "## Program Details\n### Course Overview\n"
for detail in program_details:
if detail.startswith("###"):
formatted_details += f"{detail}\n"
elif detail.startswith("##"):
formatted_details += f"{detail}\n"
else:
formatted_details += f"- {detail}\n"
return formatted_details
input_context = """
### Context:
Understanding the Rationale of Environmental Issues COURSE ID:
CREDITS: 1 HOURS PER WEEK: 1 TOTAL HOURS: 17
"""
print(extract_program_details(input_context))
``````python
# No imports needed
def extract_program_details(input_context):
# Check if input contains a 404 Error or is invalid
if "404 Error" in input_context or not input_context:
return "NA"
# Extract relevant information
lines = input_context.splitlines()
program_details = []
for line in lines:
if line.startswith("###") or line.startswith("##"):
program_details.append(line)
elif ":" in line:
program_details.append(line)
# Format extracted text in markdown
formatted_details = "## Program Details\n### Course Overview\n"
for detail in program_details:
if detail.startswith("###"):
formatted_details += f"{detail}\n"
elif detail.startswith("##"):
formatted_details += f"{detail}\n"
else:
formatted_details += f"- {detail}\n"
return formatted_details
input_context = """
### Context:
Understanding the Rationale of Environmental Issues COURSE ID:
CREDITS: 1 HOURS PER WEEK: 1 TOTAL HOURS: 17
"""
print(extract_program_details(input_context))
``````python
# No imports needed
def extract_program_details(input_context):
# Check if input contains a 404 Error or is invalid
if "404 Error" in input_context or not input_context:
return "NA"
# Extract relevant information
lines = input_context.splitlines()
program_details = []
for line in lines:
if line.startswith("###") or line.startswith("##"):
program_details.append(line)
elif ":" in line:
program_details.append(line)
# Format extracted text in markdown
formatted_details = "## Program Details\n### Course Overview\n"
for detail in program_details:
if detail.startswith("###"):
formatted_details += f"{detail}\n"
elif detail.startswith("##"):
formatted_details += f"{detail}\n"
else:
formatted_details += f"- {detail}\n"
return formatted_details
input_context = """
### Context:
Understanding the Rationale of Environmental Issues COURSE ID:
CREDITS: 1 HOURS PER WEEK: 1 TOTAL HOURS: 17
"""
print(extract_program_details(input_context))
``````python
# No imports needed
def extract_program_details(input_context):
# Check if input contains a 404 Error or is invalid
if "404 Error" in input_context or not input_context:
return "NA"
# Extract relevant information
lines = input_context.splitlines()
program_details = []
for line in lines:
if line.startswith("###") or line.startswith("##"):
program_details.append(line)
elif ":" in line:
program_details.append(line)
# Format extracted text in markdown
formatted_details = "## Program Details\n### Course Overview\n"
for detail in program_details:
if detail.startswith("###"):
formatted_details += f"{detail}\n"
elif detail.startswith("##"):
formatted_details += f"{detail}\n"
else:
formatted_details += f"- {detail}\n"
return formatted_details
input_context = """
### Context:
Understanding the Rationale of Environmental Issues COURSE ID:
CREDITS: 1 HOURS PER WEEK: 1 TOTAL HOURS: 17
"""
print(extract_program_details(input_context))
``````python
# No imports needed
def extract_program_details(input_context):
# Check if input contains a 404 Error or is invalid
if "404 Error" in input_context or not input_context:
return "NA"
# Extract relevant information
lines = input_context.splitlines()
program_details = []
for line in lines:
if line.startswith("###") or line.startswith("##"):
program_details.append(line)
elif ":" in line:
program_details.append(line)
# Format extracted text in markdown
formatted_details = "## Program Details\n### Course Overview\n"
for detail in program_details:
if detail.startswith("###"):
formatted_details += f"{detail}\n"
elif detail.startswith("##"):
formatted_details += f"{detail}\n"
else:
formatted_details += f"- {detail}\n"
return formatted_details
input_context = """
### Context:
Understanding the Rationale of Environmental Issues COURSE ID:
CREDITS: 1 HOURS PER WEEK: 1 TOTAL HOURS: 17
"""
print(extract_program_details(input_context))
``````python
# No imports needed
def extract_program_details(input_context):
# Check if input contains a 404 Error or is invalid
if "404 Error" in input_context or not input_context:
return "NA"
# Extract relevant information
lines = input_context.splitlines()
program_details = []
for line in lines:
if line.startswith("###") or line.startswith("##"):
program_details.append(line)
elif ":" in line:
program_details.append(line)
# Format extracted text in markdown
formatted_details = "## Program Details\n### Course Overview\n"
for detail in program_details:
if detail.startswith("###"):
formatted_details += f"{detail}\n"
elif detail.startswith("##"):
formatted_details += f"{detail}\n"
else:
formatted_details += f"- {detail}\n"
return formatted_details
input_context = """
### Context:
Understanding the Rationale of Environmental Issues COURSE ID:
CREDITS: 1 HOURS PER WEEK: 1 TOTAL HOURS: 17
"""
print(extract_program_details(input_context))
``````python
# No imports needed
def extract_program_details(input_context):
# Check if input contains a 404 Error or is invalid
if "404 Error" in input_context or not input_context:
return "NA"
# Extract relevant information
lines = input_context.splitlines()
program_details = []
for line in lines:
if line.startswith("###") or line.startswith("##"):
program_details.append(line)
elif ":" in line:
program_details.append(line)
# Format extracted text in markdown
formatted_details = "## Program Details\n### Course Overview\n"
for detail in program_details:
if detail.startswith("###"):
formatted_details += f"{detail}\n"
elif detail.startswith("##"):
formatted_details += f"{detail}\n"
else:
formatted_details += f"- {detail}\n"
return formatted_details
input_context = """
### Context:
Understanding the Rationale of Environmental Issues COURSE ID:
CREDITS: 1 HOURS PER WEEK: 1 TOTAL HOURS: 17
"""
print(extract_program_details(input_context))
``````python
# No imports needed
def extract_program_details(input_context):
# Check if input contains a 404 Error or is invalid
if "404 Error" in input_context or not input_context:
return "NA"
# Extract relevant information
lines = input_context.splitlines()
program_details = []
for line in lines:
if line.startswith("###") or line.startswith("##"):
program_details.append(line)
elif ":" in line:
program_details.append(line)
# Format extracted text in markdown
formatted_details = "## Program Details\n### Course Overview\n"
for detail in program_details:
if detail.startswith("###"):
formatted_details += f"{detail}\n"
elif detail.startswith("##"):
formatted_details += f"{detail}\n"
else:
formatted_details += f"- {detail}\n"
return formatted_details
input_context = """
### Context:
Understanding the Rationale of Environmental Issues COURSE ID:
CREDITS: 1 HOURS PER WEEK: 1 TOTAL HOURS: 17
"""
print(extract_program_details(input_context))
``````python
# No imports needed
def extract_program_details(input_context):
# Check if input contains a 404 Error or is invalid
if "404 Error" in input_context or not input_context:
return "NA"
# Extract relevant information
lines = input_context.splitlines()
program_details = []
for line in lines:
if line.startswith("###") or line.startswith("##"):
program_details.append(line)
elif ":" in line:
program_details.append(line)
# Format extracted text in markdown
formatted_details = "## Program Details\n### Course Overview\n"
for detail in program_details:
if detail.startswith("###"):
formatted_details += f"{detail}\n"
elif detail.startswith("##"):
formatted_details += f"{detail}\n"
else:
formatted_details += f"- {detail}\n"
return formatted_details
input_context = """
### Context:
Understanding the Rationale of Environmental Issues COURSE ID:
CREDITS: 1 HOURS PER WEEK: 1 TOTAL HOURS: 17
"""
print(extract_program_details(input_context))
``````python
# No imports needed
def extract_program_details(input_context):
# Check if input contains a 404 Error or is invalid
if "404 Error" in input_context or not input_context:
return "NA"
# Extract relevant information
lines = input_context.splitlines()
program_details = []
for line in lines:
if line.startswith("###") or line.startswith("##"):
program_details.append(line)
elif ":" in line:
program_details.append(line)
# Format extracted text in markdown
formatted_details = "## Program Details\n### Course Overview\n"
for detail in program_details:
if detail.startswith("###"):
formatted_details += f"{detail}\n"
elif detail.startswith("##"):
formatted_details += f"{detail}\n"
else:
formatted_details += f"- {detail}\n"
return formatted_details
input_context = """
### Context:
Understanding the Rationale of Environmental Issues COURSE ID:
CREDITS: 1 HOURS PER WEEK: 1 TOTAL HOURS: 17
"""
print(extract_program_details(input_context))
``````python
# No imports needed
def extract_program_details(input_context):
# Check if input contains a 404 Error or is invalid
if "404 Error" in input_context or not input_context:
return "NA"
# Extract relevant information
lines = input_context.splitlines()
program_details = []
for line in lines:
if line.startswith("###") or line.startswith("##"):
program_details.append(line)
elif ":" in line:
program_details.append(line)
# Format extracted text in markdown
formatted_details = "## Program Details\n### Course Overview\n"
for detail in program_details:
if detail.startswith("###"):
formatted_details += f"{detail}\n"
elif detail.startswith("##"):
formatted_details += f"{detail}\n"
else:
formatted_details += f"- {detail}\n"
return formatted_details
input_context = """
### Context:
Understanding the Rationale of Environmental Issues COURSE ID:
CREDITS: 1 HOURS PER WEEK: 1 TOTAL HOURS: 17
"""
print(extract_program_details(input_context))
``````python
# No imports needed
def extract_program_details(input_context):
# Check if input contains a 404 Error or is invalid
if "404 Error" in input_context or not input_context:
return "NA"
# Extract relevant information
lines = input_context.splitlines()
program_details = []
for line in lines:
if line.startswith("###") or line.startswith("##"):
program_details.append(line)
elif ":" in line:
program_details.append(line)
# Format extracted text in markdown
formatted_details = "## Program Details\n### Course Overview\n"
for detail in program_details:
if detail.startswith("###"):
formatted_details += f"{detail}\n"
elif detail.startswith("##"):
formatted_details += f"{detail}\n"
else:
formatted_details += f"- {detail}\n"
return formatted_details
input_context = """
### Context:
Understanding the Rationale of Environmental Issues COURSE ID:
CREDITS: 1 HOURS PER WEEK: 1 TOTAL HOURS: 17
"""
print(extract_program_details(input_context))
``````python
# No imports needed
def extract_program_details(input_context):
# Check if input contains a 404 Error or is invalid
if "404 Error" in input_context or not input_context:
return "NA"
# Extract relevant information
lines = input_context.splitlines()
program_details = []
for line in lines:
if line.startswith("###") or line.startswith("##"):
program_details.append(line)
elif ":" in line:
program_details.append(line)
# Format extracted text in markdown
formatted_details = "## Program Details\n### Course Overview\n"
for detail in program_details:
if detail.startswith("###"):
formatted_details += f"{detail}\n"
elif detail.startswith("##"):
formatted_details += f"{detail}\n"
else:
formatted_details += f"- {detail}\n"
return formatted_details
input_context = """
### Context:
Understanding the Rationale of Environmental Issues COURSE ID:
CREDITS: 1 HOURS PER WEEK: 1 TOTAL HOURS: 17
"""
print(extract_program_details(input_context))
``````python
# No imports needed
def extract_program_details(input_context):
# Check if input contains a 404 Error or is invalid
if "404 Error" in input_context or not input_context:
return "NA"
# Extract relevant information
lines = input_context.splitlines()
program_details = []
for line in lines:
if line.startswith("###") or line.startswith("##"):
program_details.append(line)
elif ":" in line:
program_details.append(line)
# Format extracted text in markdown
formatted_details = "## Program Details\n### Course Overview\n"
for detail in program_details:
if detail.startswith("###"):
formatted_details += f"{detail}\n"
elif detail.startswith("##"):
formatted_details += f"{detail}\n"
else:
formatted_details += f"- {detail}\n"
return formatted_details
input_context = """
### Context:
Understanding the Rationale of Environmental Issues COURSE ID:
CREDITS: 1 HOURS PER WEEK: 1 TOTAL HOURS: 17
"""
print(extract_program_details(input_context))
``````python
# No imports needed
def extract_program_details(input_context):
# Check if input contains a 404 Error or is invalid
if "404 Error" in input_context or not input_context:
return "NA"
# Extract relevant information
lines = input_context.splitlines()
program_details = []
for line in lines:
if line.startswith("###") or line.startswith("##"):
program_details.append(line)
elif ":" in line:
program_details.append(line)
# Format extracted text in markdown
formatted_details = "## Program Details\n### Course Overview\n"
for detail in program_details:
if detail.startswith("###"):
formatted_details += f"{detail}\n"
elif detail.startswith("##"):
formatted_details += f"{detail}\n"
else:
formatted_details += f"- {detail}\n"
return formatted_details
input_context = """
### Context:
Understanding the Rationale of Environmental Issues COURSE ID:
CREDITS: 1 HOURS PER WEEK: 1 TOTAL HOURS: 17
"""
print(extract_program_details(input_context))
``````python
# No imports needed
def extract_program_details(input_context):
# Check if input contains a 404 Error or is invalid
if "404 Error" in input_context or not input_context:
return "NA"
# Extract relevant information
lines = input_context.splitlines()
program_details = []
for line in lines:
if line.startswith("###") or line.startswith("##"):
program_details.append(line)
elif ":" in line:
program_details.append(line)
# Format extracted text in markdown
formatted_details = "## Program Details\n### Course Overview\n"
for detail in program_details:
if detail.startswith("###"):
formatted_details += f"{detail}\n"
elif detail.startswith("##"):
formatted_details += f"{detail}\n"
else:
formatted_details += f"- {detail}\n"
return formatted_details
input_context = """
### Context:
Understanding the Rationale of Environmental Issues COURSE ID:
CREDITS: 1 HOURS PER WEEK: 1 TOTAL HOURS: 17
"""
print(extract_program_details(input_context))
``````python
# No imports needed
def extract_program_details(input_context):
# Check if input contains a 404 Error or is invalid
if "404 Error" in input_context or not input_context:
return "NA"
# Extract relevant information
lines = input_context.splitlines()
program_details = []
for line in lines:
if line.startswith("###") or line.startswith("##"):
program_details.append(line)
elif ":" in line:
program_details.append(line)
# Format extracted text in markdown
formatted_details = "## Program Details\n### Course Overview\n"
for detail in program_details:
if detail.startswith("###"):
formatted_details += f"{detail}\n"
elif detail.startswith("##"):
formatted_details += f"{detail}\n"
else:
formatted_details += f"- {detail}\n"
return formatted_details
input_context = """
### Context:
Understanding the Rationale of Environmental Issues COURSE ID:
CREDITS: 1 HOURS PER WEEK: 1 TOTAL HOURS: 17
"""
print(extract_program_details(input_context))
``````python
# No imports needed
def extract_program_details(input_context):
# Check if input contains a 404 Error or is invalid
if "404 Error" in input_context or not input_context:
return "NA"
# Extract relevant information
lines = input_context.splitlines()
program_details = []
for line in lines:
if line.startswith("###") or line.startswith("##"):
program_details.append(line)
elif ":" in line:
program_details.append(line)
# Format extracted text in markdown
formatted_details = "## Program Details\n### Course Overview\n"
for detail in program_details:
if detail.startswith("###"):
formatted_details += f"{detail}\n"
elif detail.startswith("##"):
formatted_details += f"{detail}\n"
else:
formatted_details += f"- {detail}\n"
return formatted_details
input_context = """
### Context:
Understanding the Rationale of Environmental Issues COURSE ID:
CREDITS: 1 HOURS PER WEEK: 1 TOTAL HOURS: 17
"""
print(extract_program_details(input_context))
``````python
# No imports needed
def extract_program_details(input_context):
# Check if input contains a 404 Error or is invalid
if "404 Error" in input_context or not input_context:
return "NA"
# Extract relevant information
lines = input_context.splitlines()
program_details = []
for line in lines:
if line.startswith("###") or line.startswith("##"):
program_details.append(line)
elif ":" in line:
program_details.append(line)
# Format extracted text in markdown
formatted_details = "## Program Details\n### Course Overview\n"
for detail in program_details:
if detail.startswith("###"):
formatted_details += f"{detail}\n"
elif detail.startswith("##"):
formatted_details += f"{detail}\n"
else:
formatted_details += f"- {detail}\n"
return formatted_details
input_context = """
### Context:
Understanding the Rationale of Environmental Issues COURSE ID:
CREDITS: 1 HOURS PER WEEK: 1 TOTAL HOURS: 17
"""
print(extract_program_details(input_context))
``````python
# No imports needed
def extract_program_details(input_context):
# Check if input contains a 404 Error or is invalid
if "404 Error" in input_context or not input_context:
return "NA"
# Extract relevant information
lines = input_context.splitlines()
program_details = []
for line in lines:
if line.startswith("###") or line.startswith("##"):
program_details.append(line)
elif ":" in line:
program_details.append(line)
# Format extracted text in markdown
formatted_details = "## Program Details\n### Course Overview\n"
for detail in program_details:
if detail.startswith("###"):
formatted_details += f"{detail}\n"
elif detail.startswith("##"):
formatted_details += f"{detail}\n"
else:
formatted_details += f"- {detail}\n"
return formatted_details
input_context = """
### Context:
Understanding the Rationale of Environmental Issues COURSE ID:
CREDITS: 1 HOURS PER WEEK: 1 TOTAL HOURS: 17
"""
print(extract_program_details(input_context))
``````python
# No imports needed
def extract_program_details(input_context):
# Check if input contains a 404 Error or is invalid
if "404 Error" in input_context or not input_context:
return "NA"
# Extract relevant information
lines = input_context.splitlines()
program_details = []
for line in lines:
if line.startswith("###") or line.startswith("##"):
program_details.append(line)
elif ":" in line:
program_details.append(line)
# Format extracted text in markdown
formatted_details = "## Program Details\n### Course Overview\n"
for detail in program_details:
if detail.startswith("###"):
formatted_details += f"{detail}\n"
elif detail.startswith("##"):
formatted_details += f"{detail}\n"
else:
formatted_details += f"- {detail}\n"
return formatted_details
input_context = """
### Context:
Understanding the Rationale of Environmental Issues COURSE ID:
CREDITS: 1 HOURS PER WEEK: 1 TOTAL HOURS: 17
"""
print(extract_program_details(input_context))
``````python
# No imports needed
def extract_program_details(input_context):
# Check if input contains a 404 Error or is invalid
if "404 Error" in input_context or not input_context:
return "NA"
# Extract relevant information
lines = input_context.splitlines()
program_details = []
for line in lines:
if line.startswith("###") or line.startswith("##"):
program_details.append(line)
elif ":" in line:
program_details.append(line)
# Format extracted text in markdown
formatted_details = "## Program Details\n### Course Overview\n"
for detail in program_details:
if detail.startswith("###"):
formatted_details += f"{detail}\n"
elif detail.startswith("##"):
formatted_details += f"{detail}\n"
else:
formatted_details += f"- {detail}\n"
return formatted_details
input_context = """
### Context:
Understanding the Rationale of Environmental Issues COURSE ID:
CREDITS: 1 HOURS PER WEEK: 1 TOTAL HOURS: 17
"""
print(extract_program_details(input_context))
``````python
# No imports needed
def extract_program_details(input_context):
# Check if input contains a 404 Error or is invalid
if "404 Error" in input_context or not input_context:
return "NA"
# Extract relevant information
lines = input_context.splitlines()
program_details = []
for line in lines:
if line.startswith("###") or line.startswith("##"):
program_details.append(line)
elif ":" in line:
program_details.append(line)
# Format extracted text in markdown
formatted_details = "## Program Details\n### Course Overview\n"
for detail in program_details:
if detail.startswith("###"):
formatted_details += f"{detail}\n"
elif detail.startswith("##"):
formatted_details += f"{detail}\n"
else:
formatted_details += f"- {detail}\n"
return formatted_details
input_context = """
### Context:
Understanding the Rationale of Environmental Issues COURSE ID:
CREDITS: 1 HOURS PER WEEK: 1 TOTAL HOURS: 17
"""
print(extract_program_details(input_context))
``````python
# No imports needed
def extract_program_details(input_context):
# Check if input contains a 404 Error or is invalid
if "404 Error" in input_context or not input_context:
return "NA"
# Extract relevant information
lines = input_context.splitlines()
program_details = []
for line in lines:
if line.startswith("###") or line.startswith("##"):
program_details.append(line)
elif ":" in line:
program_details.append(line)
# Format extracted text in markdown
formatted_details = "## Program Details\n### Course Overview\n"
for detail in program_details:
if detail.startswith("###"):
formatted_details += f"{detail}\n"
elif detail.startswith("##"):
formatted_details += f"{detail}\n"
else:
formatted_details += f"- {detail}\n"
return formatted_details
input_context = """
### Context:
Understanding the Rationale of Environmental Issues COURSE ID:
CREDITS: 1 HOURS PER WEEK: 1 TOTAL HOURS: 17
"""
print(extract_program_details(input_context))
``````python
# No imports needed
def extract_program_details(input_context):
# Check if input contains a 404 Error or is invalid
if "404 Error" in input_context or not input_context:
return "NA"
# Extract relevant information
lines = input_context.splitlines()
program_details = []
for line in lines:
if line.startswith("###") or line.startswith("##"):
program_details.append(line)
elif ":" in line:
program_details.append(line)
# Format extracted text in markdown
formatted_details = "## Program Details\n### Course Overview\n"
for detail in program_details:
if detail.startswith("###"):
formatted_details += f"{detail}\n"
elif detail.startswith("##"):
formatted_details += f"{detail}\n"
else:
formatted_details += f"- {detail}\n"
return formatted_details
input_context = """
### Context:
Understanding the Rationale of Environmental Issues COURSE ID:
CREDITS: 1 HOURS PER WEEK: 1 TOTAL HOURS: 17
"""
print(extract_program_details(input_context))
``````python
# No imports needed
def extract_program_details(input_context):
# Check if input contains a 404 Error or is invalid
if "404 Error" in input_context or not input_context:
return "NA"
# Extract relevant information
lines = input_context.splitlines()
program_details = []
for line in lines:
if line.startswith("###") or line.startswith("##"):
program_details.append(line)
elif ":" in line:
program_details.append(line)
# Format extracted text in markdown
formatted_details = "## Program Details\n### Course Overview\n"
for detail in program_details:
if detail.startswith("###"):
formatted_details += f"{detail}\n"
elif detail.startswith("##"):
formatted_details += f"{detail}\n"
else:
formatted_details += f"- {detail}\n"
return formatted_details
input_context = """
### Context:
Understanding the Rationale of Environmental Issues COURSE ID:
CREDITS: 1 HOURS PER WEEK: 1 TOTAL HOURS: 17
"""
print(extract_program_details(input_context))
``````python
# No imports needed
def extract_program_details(input_context):
# Check if input contains a 404 Error or is invalid
if "404 Error" in input_context or not input_context:
return "NA"
# Extract relevant information
lines = input_context.splitlines()
program_details = []
for line in lines:
if line.startswith("###") or line.startswith("##"):
program_details.append(line)
elif ":" in line:
program_details.append(line)
# Format extracted text in markdown
formatted_details = "## Program Details\n### Course Overview\n"
for detail in program_details:
if detail.startswith("###"):
formatted_details += f"{detail}\n"
elif detail.startswith("##"):
formatted_details += f"{detail}\n"
else:
formatted_details += f"- {detail}\n"
return formatted_details
input_context = """
### Context:
Understanding the Rationale of Environmental Issues COURSE ID:
CREDITS: 1 HOURS PER WEEK: 1 TOTAL HOURS: 17
"""
print(extract_program_details(input_context))
``````python
# No imports needed
def extract_program_details(input_context):
# Check if input contains a 404 Error or is invalid
if "404 Error" in input_context or not input_context:
return "NA"
# Extract relevant information
lines = input_context.splitlines()
program_details = []
for line in lines:
if line.startswith("###") or line.startswith("##"):
program_details.append(line)
elif ":" in line:
program_details.append(line)
# Format extracted text in markdown
formatted_details = "## Program Details\n### Course Overview\n"
for detail in program_details:
if detail.startswith("###"):
formatted_details += f"{detail}\n"
elif detail.startswith("##"):
formatted_details += f"{detail}\n"
else:
formatted_details += f"- {detail}\n"
return formatted_details
input_context = """
### Context:
Understanding the Rationale of Environmental Issues COURSE ID:
CREDITS: 1 HOURS PER WEEK: 1 TOTAL HOURS: 17
"""
print(extract_program_details(input_context))
``````python
# No imports needed
def extract_program_details(input_context):
# Check if input contains a 404 Error or is invalid
if "404 Error" in input_context or not input_context:
return "NA"
# Extract relevant information
lines = input_context.splitlines()
program_details = []
for line in lines:
if line.startswith("###") or line.startswith("##"):
program_details.append(line)
elif ":" in line:
program_details.append(line)
# Format extracted text in markdown
formatted_details = "## Program Details\n### Course Overview\n"
for detail in program_details:
if detail.startswith("###"):
formatted_details += f"{detail}\n"
elif detail.startswith("##"):
formatted_details += f"{detail}\n"
else:
formatted_details += f"- {detail}\n"
return formatted_details
input_context = """
### Context:
Understanding the Rationale of Environmental Issues COURSE ID:
CREDITS: 1 HOURS PER WEEK: 1 TOTAL HOURS: 17
"""
print(extract_program_details(input_context))
``````python
# No imports needed
def extract_program_details(input_context):
# Check if input contains a 404 Error or is invalid
if "404 Error" in input_context or not input_context:
return "NA"
# Extract relevant information
lines = input_context.splitlines()
program_details = []
for line in lines:
if line.startswith("###") or line.startswith("##"):
program_details.append(line)
elif ":" in line:
program_details.append(line)
# Format extracted text in markdown
formatted_details = "## Program Details\n### Course Overview\n"
for detail in program_details:
if detail.startswith("###"):
formatted_details += f"{detail}\n"
elif detail.startswith("##"):
formatted_details += f"{detail}\n"
else:
formatted_details += f"- {detail}\n"
return formatted_details
input_context = """
### Context:
Understanding the Rationale of Environmental Issues COURSE ID:
CREDITS: 1 HOURS PER WEEK: 1 TOTAL HOURS: 17
"""
print(extract_program_details(input_context))
``````python
# No imports needed
def extract_program_details(input_context):
# Check if input contains a 404 Error or is invalid
if "404 Error" in input_context or not input_context:
return "NA"
# Extract relevant information
lines = input_context.splitlines()
program_details = []
for line in lines:
if line.startswith("###") or line.startswith("##"):
program_details.append(line)
elif ":" in line:
program_details.append(line)
# Format extracted text in markdown
formatted_details = "## Program Details\n### Course Overview\n"
for detail in program_details:
if detail.startswith("###"):
formatted_details += f"{detail
See More
