📅  最后修改于: 2023-12-03 14:50:47.702000             🧑  作者: Mango
The International Space Research Organization (ISRO) is India's national space agency. ISRO has been actively involved in various space missions, research, and development programs. The ISRO CS 2017 examination was conducted to assess the knowledge and skills of programmers aspiring to work at ISRO.
The question requires you to provide a program that returns the appropriate markdown format.
def get_markdown_format(title, description):
"""
Function to return a markdown formatted string
Args:
title (str): The title of the markdown section
description (str): The contents of the markdown section
Returns:
str: A string containing the markdown formatted section
"""
markdown_string = f"## {title}\n\n{description}\n"
return markdown_string
# Example usage
title = "Introduction"
description = "The International Space Research Organization (ISRO) is India's national space agency."
markdown_section = get_markdown_format(title, description)
print(markdown_section)
The above code will output the following markdown formatted section:
## Introduction
The International Space Research Organization (ISRO) is India's national space agency.
By using the provided get_markdown_format
function, you can easily generate markdown formatted sections. The code can be customized to include additional markdown elements such as bullet points, code snippets, images, and tables, as per the requirement.