r/learnprogramming • • Oct 25 '26

Topic Python beginner

I’m a 1st year computer science student. I have no coding experience and my classmates can finished it like under 20 mins.

How do you code a word problem? I’m stuck of what I should code. I can somehow visualize it but I can’t put it code and I have upcoming midterm. Most of my midterm is word problem then create a function and return statement.

12 Upvotes

11 comments sorted by

View all comments

3

u/EntrepreneurHuge5008 Oct 25 '26

I can somehow visualize it but I can’t put it code and I have upcoming midterm.

Put the process into words before trying to put it into code, then.

That is called pseudocode.