How can I set up a test to allow me to save a very basic question that asks the user to output a randomly generated number between 1 and 100.
Currently it won't save because there is no test case because I would have to guess the random number for the expected output box.
I had figured to test for the presence of random.randint(1,101) in the string of the student answer to check it was done correctly but can't figure how to tell it the expected output should be whatever is randomly generated. Any tips on how to get round this would be much appreciated. It's in its infancy at my school but the transition to CodeRunner delivery of Python3 learning is pretty exciting and the more I can do to develop good effective questions the faster we can integrate it.