Advertisement
Guest User

Untitled

a guest
Dec 6th, 2016
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. >>> def pluriel(mot):
  2. ... if mot in ail or [x.upper for x in ail]: return mot[:-2]+'ux'
  3. ... return mot+'s'
  4. ...
  5. >>> pluriel('bonbon')
  6. 'bonbux'
  7. >>>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement