How to check if the given string has these same characters or their probability is that same, which gives me the True?
For example, if there is string = "aaaa" my result is True and:
string = "aabb" True
string = "aabbcc" True
p = "1122" True
p = "aaaaBBBB9999$$$$" True
but:
string = "korara" False
p = "33211" False
For "aaa" I can use (len (set ("aaa")) == 1),