alpha_set = set("best")print set("test").issubset(alpha_set)print set("testa").issubset(alpha_set)
Standard input is empty
True False
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!