1

There are literally zillions of scenarios. Even before the loops are introduced. For example, Min, max, and clipping a value into an interval. Figure out whether a year is a leap one. Determine if a Queen attacks a given square. Solve the quadratic equation in reals (if det < 0:). Calculate the value of a blackjack hand (an ace could be 1 or 11, your ...


Only top voted, non community-wiki answers of a minimum length are eligible