Solución
solution.tsTypeScript
def char_frequency(text: str) -> dict[str, int]:
# Escribe tu solución aquí
final_dict = {}
for vowel in text:
if vowel not in final_dict:
final_dict[vowel] = 1
else:
final_dict[vowel] += 1
return final_dict0respuestas