DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python check if more than 1 is true
if sum([a,b,c,d]) > 1: print("Please specify at most one of 'a', 'b', 'c', 'd'.")
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#python
#check
#true
ADD COMMENT
Topic
COMMENT
Name
1+8 =
Submit