def is_list_even(my_list):
for i in my_list:
if(i%2 != 0):
return False
return True
def is_list_odd(my_list):
for i in my_list:
if(i%2 == 0):
return False
return True
def main():
n = int(input())
lst = []
for i in range(n):
lst.append(int(input()))
if(is_list_even(lst)):
print('all even')
elif(is_list_odd(lst)):
print('all odd')
else:
print('not even or odd')
if __name__ == '__main__':
main()
Answer:
Dude
Explanation:
Say this again but not in gibberish.
Answer:It rearranges the files on a hard drive to get quicker access to them.
The plate can change the function that is in it. If you were to name it wrong, you would have to debug the code and possibly rewrite it.