The third script will meet the following accept a numeric input from a user and calculate values based on the following criteria:

If the number supplied is even it will use floor division by 2 (1/2)

If the number is odd it will use 3* number + 1

The value that is returned will be sent back through the function until the returned value is 1
Make sure the user inputs a valid number (no letters and greater than 0), and notify the user of invalid input, but do not terminate the script, and ask for a new number

The results of the script should appear similar to the following using your own starting number will yield different results):

Get a price quote for python homework help