[Tutor] verb conjugations
Duri Denoth
dedur at rumantsch.ch
Fri Aug 23 11:34:08 CEST 2013
Hello Tutor
I have written a program that generates verb conjugations.
There is a loop that generates the regular forms:
for i in range(6):
present[i] = stem + worded_present_ar[i]
For irregular verbs the correct form is set individually:
present[2] = stem + worded_present_rule_7[2]
This dosen't seem to me the best readable Python code. Is there any python language feature more suitable for this problem?
Thanks!
Duri
More information about the Tutor
mailing list