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:
Z = 100
C = 200
School = "Emirates American School"
print(Z,C,School)
x = 5
y = 5
output = (x == y)
print(output)
txt = "I study at {}"
print(txt.format(School))
print(School.upper())
Answer: Spyware
Explanation:
Spyware is a blanket term given to software that gathers information about your computer and the things you do on it, and sends that information over the Internet to a third party