I am creating a troubleshooting system, where if an answer cannot be given to the user, I assign them a case number through the randint
function. I am struggling to save this random number by placing it in an external database for later use and reference. Can someone help me by using the method of reading and writing from files?
from random import randint
print('sorry I cannot help you',randint(0,100000))