1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
grandymaker [24]
2 years ago
11

Python

Computers and Technology
1 answer:
ladessa [460]2 years ago
8 0

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()

You might be interested in
Which certification does CompTIA recommend a candidate for the CompTIA Network exam already have?
kirill115 [55]

Answer:

normaly a CompTIA A+ and a Cisco CCNA

Explanation:

thses are just some of the basic's i seen comptia list with most network certifications.

3 0
4 years ago
HELLO. A computer can only understand the numbers 1 and 2.<br><br> TRUE OR FALSE
dimulka [17.4K]

FALSE

I know they can understand 0's

3 0
3 years ago
Why might you use a navigation form instead of tab pages? The navigation form allows for several levels and sublevels to be coll
boyakko [2]

Answer:

Access includes a Navigation Control that makes it easy to switch between various forms and reports in your database. A navigation form is simply a form that contains a Navigation Control. Navigation forms are a great addition to any desktop database.

Explanation:

yes

3 0
3 years ago
Read 2 more answers
An it department submits a purchase order to buy a new computer from a vendor. Which hardware lifecycle does this scenario belon
AnnZ [28]

Answer:

Purchase or Lease is the stage of the Hardware Lifecycle to which this scenario belongs to.

Explanation:

Stages of Hardware Lifecycle Management:

1. Plan

Plan is made to check which things are needed and will help us in short and long terms so, that it remains in budget and can give us more productivity.

2. Purchase or Lease

We do check whether we need to use the things for long term or short term. If long term we can buy it but, for short term we can always take it on lease.

3. Deploy & Install

New equipments are placed at required places for their usage.

4. Maintenance

We need to have maintenance service which are done by third-party companies so, that all equipments work smoothly.

5. Upgrade

We need our company to be efficient so, we do upgrade equipments like getting new version of it and to maintain that it work for long time.

6. Parts & Repair

If repairing of equipments are done it can serve for more longer time.

7. Extend

We can extend the equipments warranty period so, if any major component gets damaged it can get replaced or removed free of cost rather than spending extensive money.

8. Buyback or Trade In

We can sell the used equipments so, we can have extra money by which we have taken the work of equipment even and got price for it.

9. Dispose or Recycle

We should dispose or recycle after the time you realize it can't be used anymore or repairing it will be wastage of money. So, dispose or recycle it.

3 0
4 years ago
Suppose that we time three functions in Python: linear searching, binary searching, and sorting. We determine their running time
Igoryamba

Answer:

134

Explanation:

because 6.00×10-9 =51 and 1.80×10-8=10 and 8.00×10-7=73 by adding them it will give the answer out by the figuer 134

6 0
3 years ago
Other questions:
  • Convot the following biliary number into decimal form using any method ? (1010.100)2
    8·1 answer
  • Arrange these steps of creating a presentation in the correct order.
    15·2 answers
  • What happens when you get 3 warnings on this site?
    9·2 answers
  • PLEASE ANSWER FAST, WILL GIVE BRAINLIEST AND 20 POINTS
    11·2 answers
  • Yo, my Lenovo laptop keeps showing this screen but I can't sign in, can someone help me?
    5·2 answers
  • If you ship bakudeku. I swear. <br> *RANTS*
    11·1 answer
  • Difference between hardcopy and hardware​
    6·1 answer
  • how do i create a program in little man computer that takes 2 numbers, divides them and then outputs the div and mod?
    8·1 answer
  • What type is the combination of an integer and a string
    13·1 answer
  • E. Write an algorithm to show 'How to prepare a cucumber sandwich?". ​
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!