Skip to content
Proyek

darkprinx/break-the-ice-with-python

Lihat di GitHub

Tentang

Lebih dari 100 latihan Python untuk pemula selama 24 hari, dengan petunjuk dan solusi yang dijelaskan dengan berbagai cara

Pembelajaran dan pendidikan

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
+4
dalam 15 hari
+3
dalam 1 bulan
+10

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

Break The Ice With Python

A journey of 100+ simple yet interesting problems which are explained, solved, discussed in different pythonic ways

Binder
Deepnote


Website & Autofill Extension

Apply to jobs in seconds with Zapply.

Explore Zapply’s website and check out:

  • Our Chrome extension, which autofills job applications in seconds.
  • A dedicated job board featuring the latest openings across various roles.
  • User accounts with multiple profiles for different resume types and roles.
  • Job application tracking with streaks and commitment awards.

Experience an advanced career journey with us! 🚀

Visit Zapply

Sponsored by Zapply


🚀 Start here

  • Every day has a few problems, each with a question, hints and solutions (the original Python 2 one and mine in Python 3).
  • Try 3-5 problems a day. After a month you will have solved 100+ problems.
  • Prefer notebooks? Every day is also a Jupyter notebook. Run it in your browser with the Binder or Deepnote button above.

📅 The 24 days

Follow the path stage by stage, or jump to any day. New here? Begin with Day 1.

Stage 1: Warm-up, days 1 to 6
Day 1, questions 1 to 3: Loops, factorial & dicts Day 2, questions 4 to 9: Input parsing & classes Day 3, questions 10 to 13: Sorting words & binary
Day 4, questions 14 to 15: Counting letters & digits Day 5, questions 16 to 17: Comprehensions & bank log Day 6, questions 18 to 19: Password check & sorting

Stage 2: Functions & data, days 7 to 12
Day 7, questions 20 to 21: Generators & robot moves Day 8, questions 22 to 25: Word frequency & docs Day 9, questions 26 to 30: Your first functions
Day 10, questions 31 to 37: Dicts & lists in functions Day 11, questions 38 to 43: Tuples, map & filter Day 12, questions 44 to 46: Static methods & subclasses

Stage 3: Classes, errors & modules, days 13 to 18
Day 13, questions 47 to 50: Classes & exceptions Day 14, questions 51 to 53: try/except & regex Day 15, questions 54 to 59: Regex, unicode & series
Day 16, questions 60 to 64: Recursion & Fibonacci Day 17, questions 65 to 69: assert, eval & binary search Day 18, questions 70 to 74: The random module

Stage 4: Challenge mode, days 19 to 24
Day 19, questions 75 to 79: zlib, timeit & shuffle Day 20, questions 80 to 84: List comprehension filters Day 21, questions 85 to 89: Sets, sorting & inheritance
Day 22, questions 90 to 94: Permutations & a puzzle Day 23, questions 95 to 99: Rangoli, dates & sets Day 24, questions 100 to 103: Word counts & recursion

⭐ If this helped you, a star helps other learners find it.


❤️ Sponsors

Want your product in front of Python learners? Become a sponsor →
Get in touch: [email protected]


About

The exercise texts in this repository were collected from zhiwehu's GitHub account. I collected them to practise and solve all of them in Python, and I'm adding more over time. The main author's solutions are in Python 2 and mine are in Python 3. I also explain the code and give my opinion on a problem where it helps.

Found a mistake or have an idea? Join the discussion.

Contributing

Want to add your own solution or fix something? See CONTRIBUTING.md for a quick guide, and CONTRIBUTORS.md for everyone who has contributed a solution through a merged pull request.

Acknowledgements

A big thanks to apurvmishra99 for cleaning up the formatting of all the Day files, fixing errors, renaming variables to follow PEP 8, and adding a Jupyter notebook for each of the 24 days.

Jelajahi proyek terkait

Memuat…