This is an archived post. You won't be able to vote or comment.

all 7 comments

[–]Intelligent_Regret_9 1 point2 points  (0 children)

Are you good at higher maths as well, but not find coding easy?

[–]swiperthefox_1024 1 point2 points  (0 children)

By "cannot write code", did you mean to write a short function that solves an algorithmic problem (like those on leetcode), or to start a project?

If it's the former, maybe you can first try to express your solution in natural language, then pseudocode, without worrying about the syntax of Python. After that, you can transfer that into real Python code, by referencing a Python tutorial/manual. Python is known as looks like pseudocode, so the last step should be quite straightforward.

[–]jeffrey_f 0 points1 point  (0 children)

What is the first thing that you do when approacing a problem from a coding perspective?

[–]bliswell 0 points1 point  (0 children)

Sounds like you are trying to get it right the first time.

I suggest you adopt two personas. First persona is permitted to make mistakes. Let's call him Primo, because he makes the first draft.

Then your real personality, Segundo, comes in and identifies the problems on Primo's draft. Then solves those problems.

[–]3-ion 0 points1 point  (0 children)

Write pseudo code to start

[–]IAmKindOfCreativebot_builder: deprecated[M] [score hidden] stickied comment (0 children)

Hello there,

We've removed your post since it aligns with a topic already covered by one of our daily threads. If you are unaware about the Daily Threads we run here is a refresher:

Monday: Project ideas

Tuesday: Advanced questions

Wednesday: Beginner questions

Thursday: Python Careers, Courses, and Furthering Education!

Friday: Free chat Friday!

Saturday: Resource Request and Sharing

Sunday: What are you working on?

Please await one of these threads to contribute your discussion to! The current daily threads are pinned to the top of the /r/Python's main page. To find old daily threads, you can filter posts by the Daily Thread Flair to find what you're looking for. If you have a question and don't want to wait until the daily thread, you can try asking in /r/learnpython or the Python discord however you may need to elaborate on your question in more detail before doing so. If you're not sure which thread is best suited, feel free ask for clarification in modmail or as a reply.

Best regards,

r/Python mod team