<qiyuangong>1108_Defanging_an_IP_Address_3.py
def defangIPaddr( address: str) -> str:
    return ''.join('[.]' if c == '.' else c for c in address)
def sample_funcname ( var_0 : str ) -> str :
    return ''.join ( '[.]' if var_5 == '.' else var_5 for var_5 in var_0 )
