post #1 of struggling

This post is about my struggles with coding and learning so far

A. Im only able to remain focused for maybe an hour two hours max.
b. I get distracted real easily
c. I cant sit for long or I start to get irritated and rested leg problems.

Solutions …


This content originally appeared on DEV Community and was authored by Nelson_Malbone

This post is about my struggles with coding and learning so far

A. Im only able to remain focused for maybe an hour two hours max.
b. I get distracted real easily
c. I cant sit for long or I start to get irritated and rested leg problems.

Solutions that I have thought about to help solve issues

A. I need to start using my pomodoro app more often then i do
B. I start putting my phone on vibrate, and only use one monitor if I have another screen ill end up getting distracted with searching on the web.
C. Looking into getting a sit stand desk but also looking into getting a husky work bench.
D. Having water at my desk at all times beside sugar and caffeine projects.

But for todays task was from the automate the boring stuff book take the grid

grid = [['.', '.', '.', '.', '.', '.'],
['.', '0', 'O', '.', '.', '.'],
['O', 'O', 'O', 'O', '.', '.'],
['O', 'O', '0', 'O', 'O', '.'],
['.', 'O', 'O', 'O', 'O', 'O'],
['O', 'O', 'O', 'O', 'O', '.'],
['O', 'O', 'O', 'O', '.', '.'],
['.', 'O', 'O', '.', '.', '.'],
['.', '.', '.', '.', '.', '.']]

and print it out to look like this
..OO.OO..
.0OOOOOO.
.OO0OOOO.
..OOOOO..
...OOO...
....O....

Image description

is my thought but i went the hard way and just really forgot to put the [1] at the first "for" statement (i believe)

Image description

this is the solution that I researched using stack overflow.
Before I go looking for Solutions I spend atleast 30 mins trying to solve the problem myself before I go looking for the issues


This content originally appeared on DEV Community and was authored by Nelson_Malbone


Print Share Comment Cite Upload Translate Updates
APA

Nelson_Malbone | Sciencx (2024-10-02T22:38:40+00:00) post #1 of struggling. Retrieved from https://www.scien.cx/2024/10/02/post-1-of-struggling/

MLA
" » post #1 of struggling." Nelson_Malbone | Sciencx - Wednesday October 2, 2024, https://www.scien.cx/2024/10/02/post-1-of-struggling/
HARVARD
Nelson_Malbone | Sciencx Wednesday October 2, 2024 » post #1 of struggling., viewed ,<https://www.scien.cx/2024/10/02/post-1-of-struggling/>
VANCOUVER
Nelson_Malbone | Sciencx - » post #1 of struggling. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/10/02/post-1-of-struggling/
CHICAGO
" » post #1 of struggling." Nelson_Malbone | Sciencx - Accessed . https://www.scien.cx/2024/10/02/post-1-of-struggling/
IEEE
" » post #1 of struggling." Nelson_Malbone | Sciencx [Online]. Available: https://www.scien.cx/2024/10/02/post-1-of-struggling/. [Accessed: ]
rf:citation
» post #1 of struggling | Nelson_Malbone | Sciencx | https://www.scien.cx/2024/10/02/post-1-of-struggling/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.