So the word must have two A-Z characters and a-z characters. I used the .isalpha() function to check lower case then how do I do with uppercase characters?
yeah the only thing on my mind is CapiChar=['A',......'Z'] and if char in CapiChar: counter=counter+1