Update to Menu and Action

This commit is contained in:
2025-03-27 22:02:16 -04:00
parent 03af4f8077
commit 7443084809
10 changed files with 718 additions and 340 deletions

View File

@ -3,7 +3,7 @@ import time
def risky_task() -> str:
if random.random() > 0.25:
if random.random() > 0.4:
time.sleep(1)
raise ValueError("Random failure occurred")
return "Task succeeded!"