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:
<h3>You can place watermarks and other recurring elements on a DTP document by following the points below:</h3><h3 />
- Open the DTP document on which watermark is to be placed.
- Click on Page Layout tab
- Locate the Page Background group and click it.
- Select the Watermark Option and then select Custom watermark.
- A box will open when you click the Text Watermark.
- Type the text you want and click on Insert.
- All other changes can be done using options.
<h3>I hope it will help you!</h3>
making a selection in the Save in: box.<span>
</span>
Answer:
Explanation:
Algorithm design is the branch of discrete mathematics and computer science that deals with the research, development and implementation of sequential and asynchronous algorithms. ... An algorithm is simply a sequence of instructions; a recipe is an algorithm, and so is a list of driving instructions.
isn't it ALU I got told it was ALU