Subversion Repositories programming

Rev

Rev 143 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 143 Rev 151
Line 19... Line 19...
19
# - 2005-10-20
19
# - 2005-10-20
20
# - Added the check for <Python-2.3 compatibility.
20
# - Added the check for <Python-2.3 compatibility.
21
# - Commented the source more.
21
# - Commented the source more.
22
#
22
#
23
# - 2005-10-22
23
# - 2005-10-22
24
# - Removed an unnecessary call in input_autmaton()
24
# - Removed an unnecessary call in input_automaton()
25
#
25
#
26
# - 2005-10-24
26
# - 2005-10-24
27
# - Realized that I need to call E(states) after I find out where I'm going.
27
# - Realized that I need to call E(states) after I find out where I'm going.
28
#   The program wasn't working at all before, now it is. See class notes from
28
#   The program wasn't working at all before, now it is. See class notes from
29
#   2005-10-24 for some examples that weren't working.
29
#   2005-10-24 for some examples that weren't working.
Line 110... Line 110...
110
                print
110
                print
111
 
111
 
112
    def __input_final_states(self):
112
    def __input_final_states(self):
113
        """Ask the user for a list of final states for this automaton"""
113
        """Ask the user for a list of final states for this automaton"""
114
 
114
 
115
        print 'Enter final states on one line, seperated by spaces'
115
        print 'Enter final states on one line, separated by spaces'
116
 
116
 
117
        done = False
117
        done = False
118
        while not done:
118
        while not done:
119
            final_states = raw_input('Final states: ')
119
            final_states = raw_input('Final states: ')
120
            print
120
            print