Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 32 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!
Latest Questions
breiadabrattz: I thought C on this..
5 hours ago 39 Replies 2 Medals
breiadabrattz: I really don't understand this .
6 hours ago 14 Replies 0 Medals
gelphielvr: How can I better memorize phrases in a different language?
16 minutes ago 5 Replies 0 Medals
Breathless: Breathless Gang (join the cult)
8 hours ago 1 Reply 0 Medals
gelphielvr: What are some interesting careers in nanotechnology?
10 hours ago 2 Replies 0 Medals
gelphielvr: What was Hoover's POV on the Great Depression?
11 hours ago 5 Replies 3 Medals
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!