jerry-git / jerry-git/learn-python3

[Suggestion] Add New Practice Exercise on Python Lists

未關閉
#46 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
HTML
星號
6.9k
分支
1.8k
PR 合併指標
30 天內沒有已合併 PR

描述

## Summary
I would like to suggest adding a new beginner-friendly practice exercise focused on Python lists. The current set of exercises covers basic syntax and control flow well, but it would be helpful to have more practice with data structures.

## Proposed Exercise
- **Topic:** Lists
- **Objective:** Given a list of numbers, remove all duplicates and return a sorted list.
- **Example Input:** [3, 1, 2, 3, 4, 2]
- **Expected Output:** [1, 2, 3, 4]

## Why it's useful
- Helps reinforce understanding of list operations like `set()`, `sort()`, and list comprehensions.
- Common use-case for beginners to grasp real-world problems.

## Willing to contribute?
Yes — I’d be happy to submit a pull request with the exercise and its solution.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。