Question: THIS PROBLEM IS AVAILABLE ONLINE PLEASE CHECK BEFORE POSTING: http://www.codestepbystep.com/problem/view/python/parameters/three_consecutive Write a function named three_consecutive that accepts three integers as parameters and returns True if

THIS PROBLEM IS AVAILABLE ONLINE PLEASE CHECK BEFORE POSTING: http://www.codestepbystep.com/problem/view/python/parameters/three_consecutive

Write a function named three_consecutive that accepts three integers as parameters and returns True if they are three consecutive numbers that is, if the numbers can be arranged into an order such that their values differ by exactly 1. For example, the call of three_consecutive(3, 2, 4) would return True.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!