Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
until
#1
tonight, i wish python had an until statement, so i could have made prettier code for a loop that needs to always run the body once before checking the logic that controls the loop, since in this case the test uses a variable that is not set until the loop body runs.  at least i can put an if/break at the bottom of the loop.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply
#2
It was considered - https://www.python.org/dev/peps/pep-0315/
Reply


Forum Jump:

User Panel Messages

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