I am a beginner in python and I wish coding a function having a variable number of parameters. This function must count the number of occurance of each character existing in all input strings. let's rename this function as carCompt.
For example :
carCompt("Sophia","Raphael","Alexandre")
the result should be:
{'A':5,
'D':1,
'E':3,
'H':2,
'L':1,
'N':1,
'O':1,
'P':2,
'R':2,
'S':1,
'X':1}
thank you for help!!