jerry-git / jerry-git/learn-python3

[Suggestion] Add New Practice Exercise on Python Lists

Offen
#46 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
HTML
Sterne
6.9k
Forks
1.8k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

## 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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.