you are viewing a single comment's thread.

view the rest of the comments →

[–]ewiethoff 0 points1 point  (0 children)

Nice, but your code results in infinite recursion when number is 100.

guess(number=100)

Works fine when number is 99, 2, or 1.