def create_markdown_grid(rows=10, cols=3):
    with open("MDTB.md", "w", encoding="utf-8") as f:
        # First row with auto numbering starting from 0
        f.write("| " + " | ".join(str(i) for i in range(cols)) + " |\n")
        
        # Second row with dashes
        f.write("|" + " --- |" * cols + "\n")
        
        # Other rows with "      "
        for _ in range(rows - 1):
            f.write("|" + "      |" * cols + "\n")

if __name__ == "__main__":
    create_markdown_grid()
