←ਸਾਰੀਆਂ ਮੰਜਿਲਾਂ

Raahaao Code: Logic & Problem Solving

Learn to think like a programmer before, and while, you code.

9+ ਪਾਠ ਦੇ ਘੰਟੇ · 2 ਪ੍ਰੋਜੈਕਟ · €35

ਜਾਂ ਇਸਨੂੰ ਮਹੀਨਾਵਾਰ ਪਲਾਨ ਵਿੱਚ ਲਓ, €3.46 ਪ੍ਰਤੀ ਹਫ਼ਤੇ ਤੋਂ (ਬਿੱਲ ਹਰ ਮਹੀਨੇ €15) →

ਕੋਈ ਵੀ ਪਾਠ ਖੋਲ੍ਹਣ ਲਈ ਖਾਤਾ ਚਾਹੀਦਾ ਹੈ। ਖਾਤੇ ਬਿਨਾਂ ਤੁਸੀਂ ਮੰਜ਼ਿਲਾਂ ਅਤੇ ਕੀਮਤਾਂ ਵੇਖ ਸਕਦੇ ਹੋ।

ਭੁਗਤਾਨ ਕਰੋ

ਤੁਸੀਂ ਸਿੱਖੋਗੇ, ਮੰਜਿਲ ਦਰ ਮੰਜਿਲ

  1. 1

    Thinking in steps (Beginner)

    • What programmers actually do
    • Breaking problems down
    • Patterns and abstraction
  2. 2

    Decisions (Beginner)

    • True or false
    • Making decisions
    • Edge cases: test the edges
  3. 3

    Repetition (Intermediate)

    • Loops: doing it again
    • Accumulating and counting
    • Off-by-one and loop bugs
  4. 4

    Organising ideas (Intermediate)

    • Functions as named ideas
    • Lists as collections
    • Dictionaries as lookup
  5. 5

    Problem-solving strategies (Job-ready)

    • Work backwards and simplify
    • Brute force, then smarter
    • Recursion, gently
    • Debugging as a method

ਛੱਤ ਉੱਤੇ ਦੋ ਪ੍ਰੋਜੈਕਟ

Vending machine

Build a small vending machine by turning its rules into clear steps. You will calculate change with a limited set of coin values, decide whether an item can be bought, and connect those decisions to a text menu.

  • make_change(price_cents, paid_cents) returns a dictionary mapping each non-zero coin value in cents to its count, using the fewest coins from 200, 100, 50, 20, 10, and 5; it raises ValueError when payment is below price or the change is not representable.
  • can_buy(stock, item, paid) returns True only when item exists in stock, its quantity is positive, paid covers its price, and any change due is representable by the listed coins.
  • run_menu(stock) reads buy <item> <paid_cents>, stock, and quit commands from stdin; a successful buy reduces quantity by one and every command prints the exact response specified in the brief.

Puzzle solver

Build a small Sudoku solver that checks a 4×4 puzzle, finds the next blank, and fills a valid solution. You will break the puzzle rules into checks for rows, columns, and 2×2 boxes, then use backtracking: try a number, continue solving, and undo the choice if it leads to a dead end.

  • valid(grid) accepts only valid 4×4 Sudoku grids with values 0–4, where 0 means blank and no nonzero digit repeats in any row, column, or 2×2 box
  • next_empty(grid) returns the first blank cell as a (row, column) pair, or None when the grid is full
  • solve(grid) fills a solvable grid in place and returns True, or leaves an unsolvable grid unchanged and returns False
  • count_solutions(grid) returns the number of solutions, stopping once it reaches 2, and does not change the supplied grid
  • pretty_print(grid) returns a readable string with four rows, separating each pair of columns with a vertical bar

ਸਵਾਲ

ਮੈਨੂੰ ਕੁਝ ਇੰਸਟਾਲ ਕਰਨਾ ਪਵੇਗਾ?

ਨਹੀਂ। ਸਭ ਕੁਝ ਤੁਹਾਡੇ ਬ੍ਰਾਊਜ਼ਰ ਵਿੱਚ ਚਲਦਾ ਹੈ। ਪ੍ਰੋਜੈਕਟਾਂ ਲਈ ਤੁਸੀਂ ਆਪਣੇ ਕੰਪਿਊਟਰ ਉੱਤੇ ਵੀ ਕੰਮ ਕਰ ਸਕਦੇ ਹੋ ਅਤੇ ਆਪਣੀਆਂ ਫਾਈਲਾਂ ਅੱਪਲੋਡ ਕਰ ਸਕਦੇ ਹੋ।

ਕੀ ਮੈਂ ਉਹ ਨੱਕ ਸਕਦਾ ਹਾਂ ਜੋ ਮੈਂ ਪਹਿਲਾਂ ਸੇ ਜਾਣਦਾ ਹਾਂ?

ਹਾਂ। ਜਦੋਂ ਤੁਸੀਂ ਕਿਸੇ ਮੰਜਿਲ ਦੇ ਮਾਲਕ ਬਣ ਜਾਉ, ਹਰੇਕ ਮੰਡਲੀ ਦੀ ਇੱਕ ਪਰੀਖਿਆ ਹੈ: 10 ਵਿੱਚੋਂ 8 ਸਕੋਰ ਕਰੋ ਅਤੇ ਉਹ ਮੰਜਿਲ ਖੁੱਲ ਜਾਂਦੀ ਹੈ।

ਵਾਪਸੀ ਨੀਤੀ ਕੀ ਹੈ?

ਖਰੀਦ ਦੇ 5 ਦਿਨਾਂ ਅੰਦਰ ਵਾਪਸੀ। 5 ਦਿਨਾਂ ਦੇ ਬਾਅਦ, ਕੋਈ ਵਾਪਸੀ ਜਾਂ ਵਾਪਸ ਨਹੀਂ।

ਕੀ ਮੈਂ ਪਹੁੰਚ ਰੱਖਦਾ ਹਾਂ?

ਹਾਂ। ਜੋ ਮੰਜਿਲ ਤੁਸੀਂ ਖਰੀਦਦੇ ਹੋ ਉਹ ਤੁਹਾਡੀ ਹੈ, ਕੋਈ ਸਦਸਤਾ ਨਹੀਂ ਹੈ।

Refund policy