# test_cursor **Repository Path**: sunningfun/test_cursor ## Basic Information - **Project Name**: test_cursor - **Description**: 测试 cursor - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-01-21 - **Last Updated**: 2025-01-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Python算法实现集合 这个项目包含了常见算法的Python实现,目的是帮助初学者理解和学习基础算法。 ## 已实现的算法 ### 1. 冒泡排序 (bubble_sort.py) 冒泡排序是一个简单的排序算法,它重复地遍历要排序的数列,一次比较两个元素,如果他们的顺序错误就把他们交换过来。 #### 使用方法 ```python from bubble_sort import bubble_sort # 示例用法 numbers = [64, 34, 25, 12, 22, 11, 90] sorted_numbers = bubble_sort(numbers) print(sorted_numbers) # 输出: [11, 12, 22, 25, 34, 64, 90] ``` ## 运行环境要求 - Python 3.6+ ## 文件结构 ``` . ├── README.md └── bubble_sort.py ```