Friday, December 18, 2015

Odd and Even Number in Python

A simple program that I wrote in Python programming language to check if the number given by the user is odd or even number.

If you  have some questions please send me an email at jake.r.pomperada@gmail.com and jakerpomperada@yahoo.com

My mobile number here in the Philippines is 09173084360.



Sample Program Output


Program Listing

print('\n')
print('\t Odd and Even Number Checker')
print('\n')
number_value = int(input('Enter a Number : '))

if (number_value % 2) == 0:
   print(" The given number {0} is an EVEN number.".format(number_value))
else:
   print("The given number {0} is an ODD number.".format(number_value))

print('\n')
print('Thank you for using this program')





26 comments:

  1. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging…
    Regards,
    Python Training in Chennai|Python Training|Python Training Institutes in Chennai

    ReplyDelete
  2. Thanks for sharing this informative content that guided me to know the details about the training offered in different technology.Selenium Training in Chennai | Selenium Training | Selenium Course in Chennai

    ReplyDelete
  3. Thank you a lot for providing individuals with a very spectacular possibility to read critical reviews from this site.
    amazon-web-services-training-in-bangalore

    ReplyDelete
  4. Needed to compose you a very little word to thank you yet again regarding the nice suggestions you’ve contributed here. JAVA Training in chennai

    ReplyDelete
  5. Nice blog and absolutely outstanding. You can do something much better but i still say this perfect.Keep trying for the best.

    PLC training institute in chennai | Final year project centre in chennai

    ReplyDelete
  6. It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...
    Selenium Training in Chennai | Selenium Training in Bangalore | Selenium Training in Pune | Selenium online Training

    ReplyDelete
  7. Some us know all relating to the compelling medium you present powerful steps on this blog and therefore strongly encourage contribution from other ones on this subject while
    safety course in chennai

    ReplyDelete
  8. Your blog is awesome.You have clearly explained about it ...It's very useful for me to know about new things..Keep on blogging.

    iOS Training
    iOS Training in Chennai
    Python Training

    ReplyDelete
  9. This information is impressive. I am inspired with your post writing style & how continuously you describe this topic. Eagerly waiting for your new blog keep doing more.
    Ethical Hacking Training in Bangalore
    Ethical Hacking Course in Bangalore
    Java Certification in Bangalore
    Java J2ee Training in Bangalore

    ReplyDelete
  10. Great!it is really nice blog information.after a long time i have grow through such kind of ideas.thanks for share your thoughts with us.
    devops Training in Nolambur
    devops Training in Perambur
    devops bangalore
    devops classroom training in bangalore

    ReplyDelete
  11. Thanks for sharing information awesome blog-post. Online Education Quiz website For Exam Follow this website Gk in Hindi

    ReplyDelete
  12. Excellent blog!!! I got to know more useful information by reading your blog. Thanks for posting this blog.

    Python Training In Bangalore
    Python Training Institute In Bangalore

    ReplyDelete
  13. Thank you for sharing this valuable information with us.
    jewellery erp software
    Jewellery erp software

    ReplyDelete
  14. Thanks for sharing valuable post .
    Python Course in Solapur

    ReplyDelete
  15. great post , learn things from your blog thanks for this information. Are you intresting in code developer then checkout python training in satara

    ReplyDelete