Comma quibbling: Difference between revisions

m
Line 540:
=={{header|Astro}}==
<lang python>fun quibble(s):
let result = '" and '".join(s).replace(/ and /, '", '", lenlength(s) - 1)
return "{ $result }"
 
let s = [
let s = [ [] ["ABC"] ["ABC", "DEF"] ["ABC", "DEF", "G", "H"] ]
[]
for i in s: print(quibble i)</lang>
["ABC"]
["ABC", "DEF"]
let s = [ [] ["ABC"] ["ABC", "DEF"] ["ABC", "DEF", "G", "H"] ]
]
 
for i in s:
for i in s: print(quibble i)</lang>
</lang>
 
=={{header|AutoHotkey}}==
Anonymous user