12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- prefixe1 = "MONO-"
- prefixe2 = "UNI-"
- prefixe3 = "ANTI-"
- prefixe4 = "SUB-"
- prefixes = ("prefixe1"+"prefixe2"+"prefixe3"+"prefixe4")
- print (prefixes)
- phrase = "And that which spites me more than all these wants- He does it under name of perfect love"
- nouvelle_phrase = []
- mots = phrase.split()
- for mot in mots:
- nouveau_mot= prefixe1+mot
-
- nouvelle_phrase.append(nouveau_mot)
|