Nevins Duret wrote: > Hello Python collective, > > I am trying to wrap my head around what exactly is causing me > not to get any output or error message in the following code: > >> #!/usr/bin/env python3.1 >> >> import random >> >> def main(): >> >> def chosen_letter(): >> >> chosen_letter = Consonant() >> chosen_letter = Vowel() >> >> return chosen_letter
Hint: what function are you leaving with the above return statement? I won't spoil you the fun of tackling the other problems with your code, one at a time. Come back here for those you can't handle yourself. >> if __name__ == "__main__": main() _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor