Run ❯
Get your
own Python
server
Result Size:
625 x 565
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Go to Spaces
Ctrl+Alt+P
mytuple = (0, 1, False) x = any(mytuple) print(x) # Returns True because the second item is True
x
mytuple
=
(
0
,
1
,
False
)
x
=
any
(
mytuple
)
print
(
x
)
# Returns True because the second item is True
True