human
What is a the Python code you requested given the following:
Write a python function to check whether all the characters are same or not. Here is a solution in Python:
assistant
#Here is the Python code you requested.
 def all_Characters_Same(s) :
    n = len(s)
    for i in range(1,n) :
        if s[i] != s[0] :
            return False
    return True