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