# 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()
      
      Python language logo

      Alpha Printing

      beginner
      strings

      Python program to print alphabets using ASCII values

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.