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()
in the <u>star</u> topology configuration, hosts are connected to each other through a central controller which assumes all responsibility for routing messages to the appropriate host.
Define topology.
When a geometric object <u>is stretched, twisted, crumpled, or bent without closing or opening holes, ripping, gluing, or passing through itself, certain features are kept</u>. This is known as topology in mathematics.
<u>The study of datasets using </u><u>topological </u><u>methods</u> is known as topological-based data analysis (TDA) in applied mathematics. <u>Open sets are a convenient way to define the basic </u><u>topological </u><u>notions of continuity, compactness, and connectedness</u>.
To learn more about topology, use the link given
brainly.com/question/14560531
#SPJ4
Answer: The answer is C. backstage view
Explanation: JUST ANWERED
Answer:
The answer is option 2. public static void main(String args[]);
Explanation:
The answer is public static void main(String args[]); let's understand this line:-
- public:-It is an access specifier that means whichever entity is public it will be accessible everywhere.
- static:-It means that there is only one copy of the method.
- void:-Void means that the method does not have any returning any value.
- main:-It is the name of the method.
- String args[]:-It is an array of strings which and it stores java command line arguments.User can use another name if the user want to.
RAM-RANDOM ACCESS MEMORY.
A ram device allows data items to be accessed in the same amount of time irrespective of physical location of data inside the memory.