For this Question: Given a string, your task is to calculate the number of different characters in that string.The first line of the input contains length of string. Second line contains String.

Constraints
1 <= string length <= 100
String contains only lowercase english lettersOutput a single integer which is the number of different character in the string.Sample Input
3
abc

Sample Output
3

Sample Input
7
asbscsb

Sample Output
4, I have written this Solution Code: n=int(input())
s=input()
l=set(s)
p=len(l)
print(p), In this Programming Language: Python, Now tell me if this Code is compilable or not?