Rocket Academy Basics
Projects
Scissors Paper Stone
Beat That
Blackjack
Exercises
Credits
Source
Even Easier Dice Game Refactor
Comfortable
Description
Choose odd or even.
odd
even
Launch
The output appears here. (hopefully...)
Description
The user can guess by putting in one of two values: "odd" or "even", but the program now uses
%
, the remainder operator, to identify whether a number is even.