Z13091: نوسخهلر آراسینداکی فرق
double trailing single t |
don’t double consonants after two vowels |
||
خط ۱۴: | خط ۱۴: | ||
"Z61K1": "python" |
"Z61K1": "python" |
||
}, |
}, |
||
"Z16K2": "def Z13087(Z13087K1):\n\tif Z13087K1.endswith('n') \\\n\t\t\tand not Z13087K1.endswith('nn'):\n\t\treturn Z13087K1 + 'ning'\n\tif Z13087K1.endswith('t') \\\n\t\t\tand not Z13087K1.endswith('tt'):\n\t\treturn Z13087K1 + 'ting'\n\treturn Z13087K1 + 'ing'" |
"Z16K2": "def Z13087(Z13087K1):\n\timport re\n\tif Z13087K1.endswith('n') \\\n\t\t\tand not Z13087K1.endswith('nn') \\\n\t\t\tand not re.search(r'[aeiou][aeiou]n$', Z13087K1):\n\t\treturn Z13087K1 + 'ning'\n\tif Z13087K1.endswith('t') \\\n\t\t\tand not Z13087K1.endswith('tt') \\\n\t\t\tand not re.search(r'[aeiou][aeiou]t$', Z13087K1):\n\t\treturn Z13087K1 + 'ting'\n\treturn Z13087K1 + 'ing'" |
||
} |
} |
||
}, |
}, |
۱۰ فوریه ۲۰۲۴، ساعت ۱۱:۱۳ نوسخهسی
This page displays in a limited way without JavaScript.