PHP, (削除) 61 (削除ここまで) 56 bytes
foreach(str_split($argn,2)as$a)$r|=$a[0]!=$a[1];echo!$r;
Input string via STDIN, output is truthy (1) if it is double speak, and falsey (0) if it is not double speak.
640KB
- 12.4k
- 2
- 38
- 61