Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
nested for loop dilemma 2
#13
(Sep-12-2019, 01:04 PM)perfringo Wrote:
(Sep-12-2019, 12:41 PM)YoungGrassHopper Wrote: I just have so many tasks to get done so I am trying to rush through it without giving some of them the required thought like with this one.

There are always couple of minutes to spare before you start coding. Think in simple terms - what you have, what you want etc. Otherwise - mess in your head will transform into mess in your code. For starters it's good to spell out plan or solution in spoken language and then translate it into Python. If you don't formulate what you want to accomplish you are not able to write code which delivers expected results.

Thanks for the golden advice perfringo it makes sense. And I believe its imperative that I start doing it now in the very early stages whilst laying the foundation in order to cultivate a sound coding mindset.

I apologise for all the cringing dumb mistakes I make, I hope that with practice and experience it will improve, until then please bare with my noobness haha and thanks for all the support.
Reply


Messages In This Thread
nested for loop dilemma 2 - by YoungGrassHopper - Sep-12-2019, 08:55 AM
RE: nested for loop dilemma 2 - by luoheng - Sep-12-2019, 09:18 AM
RE: nested for loop dilemma 2 - by YoungGrassHopper - Sep-12-2019, 09:47 AM
RE: nested for loop dilemma 2 - by perfringo - Sep-12-2019, 09:29 AM
RE: nested for loop dilemma 2 - by YoungGrassHopper - Sep-12-2019, 11:13 AM
RE: nested for loop dilemma 2 - by ichabod801 - Sep-12-2019, 11:40 AM
RE: nested for loop dilemma 2 - by YoungGrassHopper - Sep-12-2019, 11:50 AM
RE: nested for loop dilemma 2 - by perfringo - Sep-12-2019, 12:01 PM
RE: nested for loop dilemma 2 - by YoungGrassHopper - Sep-12-2019, 12:10 PM
RE: nested for loop dilemma 2 - by perfringo - Sep-12-2019, 12:21 PM
RE: nested for loop dilemma 2 - by YoungGrassHopper - Sep-12-2019, 12:41 PM
RE: nested for loop dilemma 2 - by perfringo - Sep-12-2019, 01:04 PM
RE: nested for loop dilemma 2 - by YoungGrassHopper - Sep-12-2019, 02:06 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Big O runtime nested for loop and append yarinsh 4 1,374 Dec-31-2022, 11:50 PM
Last Post: stevendaprano
  Nested for loops - help with iterating a variable outside of the main loop dm222 4 1,570 Aug-17-2022, 10:17 PM
Last Post: deanhystad
  How do I add another loop to my nested loop greenpine 11 4,540 Jan-12-2021, 04:41 PM
Last Post: greenpine
  Error on nested loop : Invalid syntax dvazquezgu 3 3,229 Nov-25-2020, 10:04 AM
Last Post: palladium
  dilemma with list comprehension spalisetty06 1 1,923 Aug-14-2020, 09:18 AM
Last Post: buran
  Nested loop indexing Morte 4 3,894 Aug-04-2020, 07:24 AM
Last Post: Morte
  Nested for loop not looping puttingwordstogether 0 1,706 Jun-16-2020, 11:15 PM
Last Post: puttingwordstogether
  Help: for loop with dictionary and nested lists mart79 1 1,862 Apr-12-2020, 02:52 PM
Last Post: TomToad
  Nested Loop for user input Ads 2 3,550 Dec-30-2019, 11:44 AM
Last Post: Ads
  openpyxl nested for loop help rmrten 3 5,667 Oct-16-2019, 03:11 PM
Last Post: stullis

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020