Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 31 Online
OpenStudy (anonymous):

Does anyone know how to use the test suite in ps5? I have no idea how this code can check my answers for correctness!

OpenStudy (e.mccormick):

``` # 6.00 # Problem Set 5 Test Suite import unittest from ps5 import * ``` Right there, at the top, it is importing the ps5.py file. So if you run this code, it will use the things you defined in ps5 to do the work. It then checks the results for if you got the correct thingsd out of your functions.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!