Python Forum
How are these while loops being used?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How are these while loops being used?
#4
One other point is that you are doing a very bad habit of naming functions the same as system functions. Redefining print() means you cannot use print() in the function (or else it becomes recursive). next() should also be avoided.

And, for good advice regarding style of Python programming, see PEP 8 at PEP 8
Reply


Messages In This Thread
RE: How are these while loops being used? - by jefsummers - Sep-07-2022, 04:35 PM

Forum Jump:

User Panel Messages

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