ex31 pertains to using if and elif to make decisions