13 lines
228 B
Text
13 lines
228 B
Text
fun quibble(s):
|
|
let result = s.join(' and ').replace(|| and ||, ", ", length(s) - 1)
|
|
return "{ $result }"
|
|
|
|
let s = [
|
|
[]
|
|
["ABC"]
|
|
["ABC", "DEF"]
|
|
["ABC", "DEF", "G", "H"]
|
|
]
|
|
|
|
for i in s:
|
|
print(quibble i)
|