Define a function has_straight that accepts a list of three integers (hand) as described in the 3-card poker assignment, and returns True if and only if the list is in direct consecutive order from largest to smallest. You may assume that the hand has already been sorted from largest to smallest.
“Direct, consecutive order” means that 3, 2, 1 works but 4, 2, 1 does not.
Define at least three assert_equal tests for your function.