#NEWLINE# def slip_likelihood( score , guess , slip , learned ) : #NEWLINE# #INDENT# if ( score == 1 ) : #NEWLINE# #INDENT# return calculate_correct ( guess , 1 , learned ) #NEWLINE# #UNINDENT# if ( score == 0 ) : #NEWLINE# #INDENT# return calculate_incorrect ( guess , 1 , learned )