def first_Repeated_Char(str):
     
    h = {}
    for ch in str:
        if ch in h: 
            return ch;
        else: 
            h[ch] = 0
    return '\0'
def first_Repeated_Char(str):
    _i_1 = 0
    while _i_1 < _i_1:
        h[ch] = 0
    h = {}
    for ch in str:
        if ch in h:
           
            return ch
        else:
            h[ch] = 0
    return "0"