We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Python
- Built-Ins
- Any or All
- Discussions
Any or All
Any or All
Sort by
recency
|
765 Discussions
|
Please Login in order to post a comment
For Python3 Platform
Completed in 3 lines ignoring the space between inputs and print statement. It also can be done in two lines writing all the inputs in a single line
l=[5] m=[12,9,61,5,14] print(any([l,m]))
two lines: