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

Aperta Adatta ai principianti
#345 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
70/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
python
Ambito
tooling

Direzione di ricerca

Inizia sfogliando i file Python in solutions/python/ e scegline uno la cui logica riesci a seguire. Portalo in un linguaggio che conosci, quindi salvalo come solutions/<language>/practice<next number>.<ext>, mantenendo il commento di intestazione originale e aggiungendo una riga Ported from: python/practiceN.py. Il lavoro è completo quando esiste un nuovo file nella cartella di quel linguaggio con l'intestazione e la riga di attribuzione, hai commentato la issue indicando il file e il linguaggio scelti e hai aperto una pull request.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Python
Stelle
3
Fork
2
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Huerte/algo-solutions-python

Tutte le issue di Huerte/algo-solutions-python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.