def muchbetter(x):
count_list = []
for char in "abcdefghijklmnopqrstuvwxyz":
count_list.append(x.lower().count(char))
return tuple(count_list)
this function makes a list of when each letter appears in a sample text (x), what i want, is to turn the result of this function into a sortof "tower" of "*", so for example if (x)='AAAA' the list would show (4,0,0,0,0,0.. zeroes for letters tat don't appear) i want it to turn that result into a tower that looks like this
*
*
*
*
if (x)=AABBBB i want it to show something like this
*
*
**
**
so a tower of 2 for A and 4 for B, and so on if it were say x=(python is difficult) it would make towers with stars equal to the value of each letter in the list.