Use python 3 to run the application, no requirements are needed, in command line just run python main.py
The main.py file contains the challenge description along with test cases to verify the correctness of your solution. To run the tests, follow these steps:
- Edit the
main.pyfile to implement your solution to the challenge. - After making changes, press
Cmd+SorCtrl+Sto save the file. - Saving the file will prompt you to log in to the sandbox environment.
- Log in using your credentials to run the code and execute the tests.
Ensure that all the test cases pass to confirm the correctness of your implementation.
Note: The main.py file uses the Valid Eval feature, which allows executing code securely within the sandbox environment. Make sure to save the file and log in to the sandbox when prompted to run your code successfully.
Best of luck with the challenge! Remember to test your solution thoroughly and ensure it meets all the requirements.