Translate an existing Python solution into another language (15 min)

Open Beginner friendly
#279 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
66/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
backend

Research direction

Browse solutions/python/ and choose a solution, then check the existing solution headers and numbering under solutions/ for the target language. Port the chosen solution and save it using the requested practice<number>.<ext> naming, including its header and a Ported from line. Done when the new solution follows the repository conventions and the chosen file and language are noted in a comment.

Written by the indexing model from the issue text.

Description

15-minutes algorithm all-levels any-language beginner-friendly codewars good first issue hackerrank help wanted interview-prep leetcode open-source students

Learn a new language by porting code you can already read

Take any Python solution in this repo and rewrite it in another language. It's one of the best ways to learn a language, because the logic is already solved.

Time: ~15 minutes | Level: Beginner

Task
  • Pick a file from solutions/python/
  • Rewrite it in your language
  • Save as solutions/<language>/practice<next number>.<ext>
  • Keep the header comment, and add a line like Ported from: python/practice12.py

Comment which file and language you picked.


Open for everyone

This issue is open for everyone: beginners, experienced developers, students, and people who don't code at all. Any language, any level, no experience required. If you want to help, you are welcome here.

How to contribute

  1. Fork this repo
  2. Clone your fork and create a new branch
  3. Make your change
  4. Commit, push, and open a Pull Request

New to open source? Start here before anything else:

First Contributions - github.com/firstcontributions/first-contributions

Prefer video? Watch this: How to contribute on GitHub (YouTube)

If this repo helps you or you like where it is going, a star is a nice way to say thanks and helps other people find it. Entirely optional, and you do not need it to contribute.

Dominant language
Python
Stars
3
Forks
2
Avg merge
3h
Merged PRs (30d)
44

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Huerte/algo-solutions-python

All issues in Huerte/algo-solutions-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.