Jump to content

Z11591: Difference between revisions

From Wikifunctions
No edit summary
+ previously missed case
Line 14: Line 14:
"Z61K1": "python"
"Z61K1": "python"
},
},
"Z16K2": "def Z11590(Z11590K1):\n\tif(Z11590K1.endswith('f')):\n\t return Z11590K1[:-1] + 've';\n\tif(Z11590K1.endswith('x')):\n\t return Z11590K1[:-1] + 'se';\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\telse:\n\t return Z11590K1 + 'e';"
}
}
},
},

Revision as of 10:26, 29 October 2023

This page displays in a limited way without JavaScript.