[Tutor] eval func with floating...
__peter__ at web.de
Tue Aug 23 17:44:30 CEST 2011
Chanakya Mitra wrote:
> shouldn’t this be:
> set(a).intersection(set(check)) will be true as long as only one element
> appears in both. ie. 15/a8 kill the process and spit out an error instead
> of asking "error! please use -defined operators-!"
You are right.
The original poster may still run into errors because input strings that
aren't a valid Python expression are possible even with the restricted
More information about the Tutor