Alpha Printing

    0

    0

    Mahendra Kumar

    beginnerstrings

    Python program to print alphabets using ASCII values

    # function to print uppercase alphabets
    def upperAlpha():
        for c in range(65, 91):
            print(chr(c), end = ' ')
        print('')
    # function to print lowercase alphabets
    def lowerAlpha():
        for c in range(97, 123):
            print(chr(c), end = ' ')
        print('')
    # print uppercase alphabets
    print('Uppercase Alphabets:')
    upperAlpha()
    # print lowercase alphabets
    print('Lowercase Alphabets:',)
    lowerAlpha()
    
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    Legal
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.