# Retornará False, pois o elemento 10 não pertence ao conjunto:
print(all(x in range(1, 6) for x in [2, 10]))
# Retornará True, pois todos elementos pertecem ao conjunto:
print(all(x in range(1, 6) for x in [2, 4]))
IyBSZXRvcm5hcsOhIEZhbHNlLCBwb2lzIG8gZWxlbWVudG8gMTAgbsOjbyBwZXJ0ZW5jZSBhbyBjb25qdW50bzoKcHJpbnQoYWxsKHggaW4gcmFuZ2UoMSwgNikgZm9yIHggaW4gWzIsIDEwXSkpCgojIFJldG9ybmFyw6EgVHJ1ZSwgcG9pcyB0b2RvcyBlbGVtZW50b3MgcGVydGVjZW0gYW8gY29uanVudG86CnByaW50KGFsbCh4IGluIHJhbmdlKDEsIDYpIGZvciB4IGluIFsyLCA0XSkp