Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
isdisjoint method in sets
TristanSld
Jan 11th, 2014
156
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.15 KB
| None
|
0
0
raw
download
clone
embed
print
report
#usr/bin/env python
# -*- coding: utf-8 -*-
a
=
set
(
[
1
,
5
,
10
,
15
]
)
b
=
set
(
[
2
,
4
,
6
]
)
print
a.
isdisjoint
(
b
)
or
b.
isdisjoint
(
a
)
# a ve b ayrık kümeler mi?
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Fast Track to $13K in 48 Hours
CSS | 47 min ago | 0.90 KB
Blockchain Exploit Strategy
CSS | 47 min ago | 0.90 KB
Untitled
54 min ago | 4.46 KB
Untitled
2 hours ago | 7.95 KB
Untitled
2 hours ago | 5.16 KB
Secrets.kdbx
2 hours ago | 97.25 KB
Untitled
4 hours ago | 14.71 KB
Untitled
4 hours ago | 0.23 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!