📌  相关文章
📜  国际空间研究组织 | ISRO CS 2017 |问题 15(1)

📅  最后修改于: 2023-12-03 14:50:47.702000             🧑  作者: Mango

ISRO CS 2017 | Question 15

Introduction

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.

Question 15

The question requires you to provide a program that returns the appropriate markdown format.

Solution
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)
Output

The above code will output the following markdown formatted section:

## Introduction

The International Space Research Organization (ISRO) is India's national space agency.
Conclusion

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.