Z13091:調整以後无蜀樣兮地方
GrounderUK(討論 | 貢獻) restored to last successful version 1 bĭh biĕu-chiĕng: 手動回退 |
GrounderUK(討論 | 貢獻) restructure conditions so all tests pass |
||
第14行: | 第14行: | ||
"Z61K1": "python" |
"Z61K1": "python" |
||
}, |
}, |
||
"Z16K2": "def Z13087(Z13087K1):\n\timport re\n\tif Z13087K1.endswith(' |
"Z16K2": "def Z13087(Z13087K1):\n\timport re\n\tif Z13087K1.endswith('c') \\\n\t\t\tand re.search(r'[aeiou]c$', Z13087K1):\n\t\treturn Z13087K1 + 'k' + 'ing'\n\tif re.search(r'[aeiou][bdfgkmnprstvz]$', Z13087K1) \\\n\t\t\tand not re.search(r'[aeiou][aeiou][bdfgkmnprstvz]$', Z13087K1):\n\t\treturn Z13087K1 + Z13087K1[-1] + 'ing'\n\tif Z13087K1.endswith('ie') :\n\t\treturn Z13087K1[:-2] + 'ying'\n\tif Z13087K1.endswith('e') \\\n\t\t\tand not re.search(r'[ei]e$', Z13087K1):\n\t\treturn Z13087K1[:-1]+ 'ing'\n\treturn Z13087K1 + 'ing'" |
||
} |
} |
||
}, |
}, |
2024 nièng 2 nguŏk 14 hô̤ (三) 23:10兮版本
此頁面以沒有JavaScript的方式顯示