Even Number

    0

    0

    Mahendra Kumar

    beginner

    To find whether the given number is an even number or not

    # take inputs
    num = int(input())
    # check number is even or not
    if(num % 2 == 0):
     print('{0} is an even number'.format(num))
     print('{0} is an even number'.format(num))
    else:
     print('{0} is not an even number'.format(num))
     print('{0} is not an even number'.format(num))
    
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.