A
A
Adder12017-08-18 20:12:40
Python
Adder1, 2017-08-18 20:12:40

How to learn to write in python?

I know the syntax, but I can't apply it...
If I see a solved problem, I understand everything in it, but when it comes to writing, my brain turns off.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
A
Anton, 2017-08-18
Reytarovsky @Antonchik

Need more practice

A
Alexey Sergeev, 2017-08-18
@SergeevAI

Looking for a piece of code that does something useful, put a break point in the pyrarm, turn on the debug and go ahead. Above each line, think about why it is written that way, what variables are entered / changed, and how this business can be improved or optimized.

A
Astrohas, 2017-08-18
@Astrohas

In order to pump up algorithms and structures, you can also solve sports problems of initial complexity (average complexity is already starting to destroy the brain), so you will learn basic structures and algorithms.
You can decide on acmp.ru

L
luxter, 2017-08-20
@luxter

It was similar, I understood the code, but I could not write anything more complicated than a primitive calculator. Went to sysadmin %)

R
Ranc58, 2017-08-23
@Ranc58

As stated above, theory without practice is dead. And IMHO practice should prevail over theory here.
About "where to learn to write":
Entertaining: codecombat . You can learn for free, it looks and plays pretty funny.
More seriously: devman.org . Paid. But the profit is great. There is a human code review, they teach to learn.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question