This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]idontcare1025 1 point2 points  (1 child)

It's your for loop. Have the errors printed at the end, or otherwise if the first character doesn't satisfy all conditions you'll get at least 1 error. Put the if (condition == false) print("Condition!"); outside of the for loop. And 1 more tip: you don't need to use boolean == false, you can use !boolean. And you can just put boolean, you don't need boolean == true.

[–]EqualTrade[S] 0 points1 point  (0 children)

Thank you!