Please code in python:
Create 2 .py files (decorators.py and main.py).
Inside the main.py file, write a function that will take a list of integers, calculate the square root of each (use the math library or raise to a fractional power), and write the maximum number of the resulting numbers to the “result.txt” file.
Inside the file for decorators, create 2 decorator functions, one must check the type of the input parameter, and if it is not a list of ints, raise a TypeError. The second decorator should leave only positive numbers in the input.
Decorate the function from the main file with decorators from the second file. (You will need to import them)
Use the data below to check if the program works:
[60, -76, -45, 94, -65, -21, -53, 95, 82, -41, 57, 10, 98, -28, -23, -78, 24, 19, 87, -53 ]
[-32, “99”, -69, 66, 60, -68.98, 35, 23, -32, “-3”, -6, -66, 97, 28, -44, 94, -.55, – 26, 58, -15]
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.Read more
Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.Read more
Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.Read more
Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.Read more
By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.Read more