summaryrefslogtreecommitdiff
path: root/progs/a140.py
blob: 2bdcce2db8f56b6443159c1b7990ccc7e596458d (plain)
1
2
3
4
5
6
def all_Characters_Same(s) :
    n = len(s)
    for i in range(1,n) :
        if s[i] != s[0] :
            return False
    return True