Verified Submission
programmingpython
#RI-6ac4785e·6 months ago·
1
Author avatar
Lookback: 2.5 hours

“Created a game of 100 with alternating player and computer turns”

Tried to implement a for loop to make the computer try to make the second digit of the total be 9, but it caused the computer to skip its turn or spam inputs.

What I wish I knew
"How to properly implement a conditional statement within a for loop"
If I could tell you one thing
"Be careful when using for loops with conditional statements, and make sure to test your code thoroughly"
0
8/10
Clear regret.
The downsides outweighed what was gained.
SettledMixedSevere

Advice for Someone Facing This

Short, upvotable wisdom. The most helpful rises to the top.

No advice yet. Be the first to share wisdom.

Discussion

React, question, or discuss this decision.

Sign into join the discussion
programming Category
1
programming decisions logged. Avg regret 8/10 across the category.
Same Outcome Band
100%
of programming decisions land in the severe band the same as this one.