DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
if boolean func
def
bool_to_word
(
bool
)
:
# if boolean func
if
bool
:
return
"Yes"
else
:
return
"No"
Source by www.codewars.com #
PREVIOUS
NEXT
Tagged:
#boolean
#func
ADD COMMENT
Topic
COMMENT
Name
2+9 =
Submit