Question: Describe what the python code/block do each line there is a comment # Question No. 15 def processFiles(files): # Question No. 16 # Question No.
Describe what the python code/block do each line there is a comment

# Question No. 15 def processFiles(files): # Question No. 16 # Question No. 17 theFiles = [] # Question No. 18 for j,k in files.itemsO: # Question No. 19 theFiles.append(File(k)) # Question No. 20 return theFiles except: return-1 # Question No. 21 def addText(files): try: # Question No. 22 for file in files: # Question No. 23 file.addLines(50 * "Test Data ") return 1 except: return -1 # Question No. 24 def addRandomText(files): try: for file in files: randomNumber = random, randint(0,100) # Question No. 25 file.addRandomText(randomNumber) return 1 except: return-1 # Question No. 26 def deleteFiles(files): try: for file in files: # Question No. 27 file.deleteFileO return 1 except: return-1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
