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
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to