Python Forum
Many iterations for loop question
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Many iterations for loop question
#3
Please post code, not links.

Sounds like you want to slice Twaterout into a bunch of length 10 lists. Do you know how to slice lists? If not, lookup "list slice". You might also want to read about Python sets.

I think you can solve the problem with one for loop. Two at the most
Reply


Messages In This Thread
Many iterations for loop question - by adesimone - Nov-12-2022, 12:49 AM
RE: Many iterations for loop question - by deanhystad - Nov-12-2022, 03:55 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Help with creating loops and Iterations for ISO Weeks abecruz92 1 1,340 Dec-29-2022, 12:33 PM
Last Post: Yoriz
  Please check whether the code about the for loop question is correct. (SyntaxError) lilliancsk01 10 2,734 Nov-08-2022, 01:25 PM
Last Post: deanhystad
  Beginner Python Question: FIzz Buzz using while loop camoyn13 2 1,874 Sep-20-2022, 09:00 AM
Last Post: deanhystad
  How to print all iterations of min and max for a 2D list alaina 4 2,965 Nov-11-2020, 05:53 AM
Last Post: alaina
  Repeat question (for loop) rs74 7 6,576 Jun-17-2020, 03:17 PM
Last Post: rs74
  Question about running comparisons through loop from input value Sunioj 2 2,453 Oct-15-2019, 03:15 PM
Last Post: jefsummers
  while loop question Tripler 4 3,008 Jul-24-2018, 06:37 AM
Last Post: buran
  Loop question kraven 3 3,715 Sep-10-2017, 07:31 AM
Last Post: wavic
  Question about loop Pires 4 3,628 Jul-23-2017, 03:01 AM
Last Post: Pires
  Udacity while loop question liquidmetalrob 6 5,435 Jul-21-2017, 02:56 PM
Last Post: nilamo

Forum Jump:

User Panel Messages

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