12
top 2 comments
sorted by: hot top controversial new old
[-] rutrum@lm.paradisus.day 3 points 1 month ago* (last edited 1 month ago)

Idk...kind of neat, but is the die rolling example any better than just doing 'while roll() != 6:'?

[-] FizzyOrange@programming.dev 2 points 1 month ago

Yeah I would avoid this. The meaning is not obvious and at least in the examples given there are far better ways to do it.

this post was submitted on 19 Jul 2024
12 points (100.0% liked)

Python

6202 readers
27 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

📅 Events

October 2023

November 2023

PastJuly 2023

August 2023

September 2023

🐍 Python project:
💓 Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 1 year ago
MODERATORS