SHARE
TWEET

Untitled

a guest Jun 16th, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import random
  2.  
  3. c1 = ("e","é")
  4. c2 = ("a","se")
  5. root = ("apa","mete")
  6. tense = ("h","tuk")
  7.  
  8. avowel = "éá"
  9. avowelr= "éyá"
  10. evowel = "ea"
  11. evowelr = "eya"
  12.  
  13. #syntax
  14. x = [c1,c2,root,tense]
  15.  
  16. #randomly selects morphemes
  17. s = "".join([random.choice(i) for i in x])
  18. s = s.replace(avowel, avowelr)
  19. s = s.replace(evowel, evowelr)
  20. print(s)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top