Set .symmetric_difference() Operation

  • [deleted]Challenge Author
    + 2 comments

    C# "one-liner" (aside from using/class/method declarations):

    using System;
    using System.Collections.Generic;
    using System.IO;
    
    class Solution {
        static void Main(String[] args) {
            Console.WriteLine(new HashSet<char>(Console.ReadLine().ToLower().Replace(" ", "")).Count == 26 ? "pangram" : "not pangram");
        }
    }