en python French masculine adjective to feminine Z11591 Implementācija
Ameisenigel (talk | contribs) de |
Converting reference to programming language to use an ID |
||
Line 10: | Line 10: | ||
"Z14K3": { |
"Z14K3": { |
||
"Z1K1": "Z16", |
"Z1K1": "Z16", |
||
"Z16K1": |
"Z16K1": "Z610", |
||
"Z1K1": "Z61", |
|||
"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\tif(Z11590K1.endswith('e')):\n\t\treturn Z11590K1;\n\tif(Z11590K1.endswith('gu')):\n\t\treturn Z11590K1 + 'ë';\n\tif(Z11590K1.endswith('el') or Z11590K1.endswith('en') or Z11590K1.endswith('on') or Z11590K1.endswith('eil') or Z11590K1.endswith('ul')):\n\t\treturn Z11590K1 + Z11590K1[-1] + 'e';\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\tif(Z11590K1.endswith('gu')):\n\t\treturn Z11590K1 + 'ë';\n\tif(Z11590K1.endswith('el') or Z11590K1.endswith('en') or Z11590K1.endswith('on') or Z11590K1.endswith('eil') or Z11590K1.endswith('ul')):\n\t\treturn Z11590K1 + Z11590K1[-1] + 'e';\n\telse:\n\t return Z11590K1 + 'e';" |
||
} |
} |
Revision as of 16:14, 22 May 2024
This page displays in a limited way without JavaScript.