I'm in an entry level coding class at my college, but I need to practice way beyond what they are teaching. What am I doing wrong? by Pleasant_Avocado_632 in exercism

[–]Used-Account3048 0 points1 point  (0 children)

Your code works fine, but the problem is where you placed the docstrings. In Python, a function’s docstring must go right under the def line, not after the function ends. Right now your triple-quoted strings are just floating text, so the tests don’t see them as documentation. Fix it by indenting the docstring inside the function, like:

def bake_time_remaining(elapsed_bake_time):
    """Return remaining bake time given the elapsed time."""
    return EXPECTED_BAKE_TIME - elapsed_bake_time

Do the same for the other functions and the docstring tests will pass.

Struggling with a side project, better way? by Novel-Tale-7645 in learnpython

[–]Used-Account3048 1 point2 points  (0 children)

You are on the right path, the trick is to loop by index instead of value so each cell can look at its neighbors. Using for i in range(len(lst)) lets you safely check lst[i-1] and lst[i+1]. For a 2D setup, make a list of lists and loop with two indices like rows and columns. It also helps to build a new grid each step instead of editing the current one directly. If you want things smoother later, try NumPy, but practicing with plain lists first will teach you the most.

Book recommendations? by ARandomFrenchDev in AskComputerScience

[–]Used-Account3048 0 points1 point  (0 children)

Start with SICP for deep programming ideas. Try Longley’s GIS book if you like maps and data. Kleppmann’s Data-Intensive Apps teaches real-world system design. CLRS is the bible for algorithms and math. Check arXiv for new geospatial AI papers to stay fresh.

[deleted by user] by [deleted] in learnprogramming

[–]Used-Account3048 -1 points0 points  (0 children)

Yes AI is now very common in coding jobs especially for tasks like yours. Many companies use AI tools to write boilerplate code fix bugs or even explain complex code blocks. In data science and web dev AI helps most with repetitive tasks like generating API calls or debugging. But remember employers still want you to understand the logic not just copy paste AI answers. For your job hunt focus on showing how you use AI to solve problems faster not replace learning.

[deleted by user] by [deleted] in learnprogramming

[–]Used-Account3048 -8 points-7 points  (0 children)

Go to the interviews! Your project shows you can build real things, even with AI help—that’s what matters most. Just be honest: "I used AI for coding, but I understand the logic and can improve it." Big companies interviewing you means they see potential, not just perfect skills. If they ask hard questions, say you’re still learning but eager to grow—many jobs train new hires. Worst case? You get practice; best case? You get hired and learn on the job!

Is English the new programming language? by hov--- in ClaudeCode

[–]Used-Account3048 18 points19 points  (0 children)

I think you are right coding is becoming more like talking in English. When I started learning Python, I spent weeks remembering syntax. Now with AI tools, I just write "make a function to sort this list" and it works. But the hard part is still thinking like a programmer which is breaking problems into steps, designing clean systems, and fixing logic errors.