+0

is it correct?


It took me half an hour to think and write these code

+0
skunightIt took me half an hour to think and write these code

No, there are several problems.

1. We do not think code. Do you mean to design code or think about it?

2. "These" is incorrect. These is used for plural nouns: these animals, these bottles. Use "this" for singular nouns.

3. There is no punctuation at the end.