Python Forum
Homework help:While Loops question
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Homework help:While Loops question
#2
x is always 0 since it doesn't change in the loop, so x in range(0, numItems) is always True. While loops don't work the same way as for loops.
Reply


Messages In This Thread
RE: Homework help:While Loops question - by ndc85430 - Jul-22-2020, 05:33 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  question about loops rpang 7 1,728 Nov-07-2022, 09:42 PM
Last Post: deanhystad
  IF ELSE Homework Question buckthimble 1 2,205 Mar-29-2020, 06:29 AM
Last Post: buran
  Python Homework Question OrcDroid123 1 2,427 Sep-01-2019, 08:44 AM
Last Post: buran
  Homework question dmhhfm 4 13,466 Apr-10-2019, 07:22 AM
Last Post: DeaD_EyE
  Beginner Python Homework Question (Calculate Gross Pay) matchamochi7 4 5,790 Nov-02-2018, 01:06 PM
Last Post: buran
  yet another homework question HakolYahol 16 7,884 Sep-27-2018, 04:52 PM
Last Post: gruntfutuk
  python in JES homework question, lsteffen 1 3,058 Feb-11-2018, 05:52 PM
Last Post: Taco_Town

Forum Jump:

User Panel Messages

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