Python Program to Count Number of Characters in String using Dictionary

str="Welcome to Webeduclick"
len=len(str)
Dict={str:len}
print(Dict)

Output:
Python Program to Count Number of Characters in String using Dictionary