I'm guessing you assigned min to an integer value beforehand, eg: min = 123 .... if x1 < min( x2, x3 ): ....
2010/1/5 saintthor <[email protected]> > code: > > if x1 < min( x2, x3 ): > > gets an exception: TypeError: 'int' object is not callable > > x1,x2,x3 are floats. > > change the code to: > > if x1 < x2 and x1 < x3: > > everything is OK. > > -- > > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
