Sari la conținut

en python French masculine adjective to feminine Z11591
en Implementation

Де ла Wikifunctions
+ previously missed case
adjectives ending in -e stay the same
Линия 14: Линия 14:
"Z61K1": "python"
"Z61K1": "python"
},
},
"Z16K2": "def Z11590(Z11590K1):\n\tif(Z11590K1.endswith('f')):\n\t return Z11590K1[:-1] + 've';\n\tif(Z11590K1.endswith('teur')):\n\t\treturn Z11590K1[:-4] + 'trice';\n\tif(Z11590K1.endswith('er')):\n\t\treturn Z11590K1[:-2] + 'ère';\n\tif(Z11590K1.endswith('eux') or Z11590K1.endswith('eur')):\n\t return Z11590K1[:-1] + 'se';\n\tif(Z11590K1.endswith('et')):\n\t\treturn Z11590K1[:-2] + 'ète';\n\telse:\n\t return Z11590K1 + 'e';"
"Z16K2": "def Z11590(Z11590K1):\n\tif(Z11590K1.endswith('f')):\n\t return Z11590K1[:-1] + 've';\n\tif(Z11590K1.endswith('teur')):\n\t\treturn Z11590K1[:-4] + 'trice';\n\tif(Z11590K1.endswith('er')):\n\t\treturn Z11590K1[:-2] + 'ère';\n\tif(Z11590K1.endswith('eux') or Z11590K1.endswith('eur')):\n\t return Z11590K1[:-1] + 'se';\n\tif(Z11590K1.endswith('et')):\n\t\treturn Z11590K1[:-2] + 'ète';\n\tif(Z11590K1.endswith('e')):\n\t\treturn Z11590K1;\n\telse:\n\t return Z11590K1 + 'e';"
}
}
},
},

Версиуня де ла дата 2 ноембрие 2023 09:12

This page displays in a limited way without JavaScript.