NEED HELP WITH PYHTON..PASTE INDENTED CODE PLZZ
4. Boolean Functiona) Define a function, isInRange() with an integer parameter, x.
This function returns true if the integer number x is in the range (-100, 100). Otherwise, return false. b) Define a main() function, in which a loop will be created to do the following ten times:
1) Get a random integer, n, in the range (-500, 500).
2) Call isInRange(x) function to determine and print out if the number n is in the range. c) Call main() function to initiate the tasks to be performed.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here