News
By using the open () function and a simple loop, you can cycle through a list of file names and assign a variable with a reference to that file, storing it for later use.
if k%2 == 0: # % is the mod operator; this line checks if the remainder of k/2 equals 0 even.append(k) # append the number to the list even else: # don't forget to indent the statement odd.append(k) ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results