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:
He should: Format the text file with comma-separated values and save as CSV file type. ]
Explanation:
hope this helps!
Lenny might be either suspended
Or might be failed in that particular course
That should be the replace function which performs word replacements in documents.
Answer:
recognizing that gender differences are a myth.
Explanation:
The options are:
- active listening.
- recognizing that gender differences are a myth.
- structured debate.
- building cross-cultural understanding
Without active listening, structured debate, and cross-cultural understanding group conflict are definitely on the card. However, no one now is concerned about gender differences. As now both the genders are already having the equal status in at least developed countries. However, this too can play a role in avoiding group conflict. However, since this is not that important considering the current context, this looks like being the correct option here. Hence, the above mentioned in the answer section is the correct option.