Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (9 sloc) 336 Bytes
from docassemble.base.util import explain
__all__ = ['wrong_vegetable']
def wrong_vegetable(vegetable):
if vegetable == 'turnip':
explain("You also said your favorite vegetable was turnip.")
return True
else:
explain("You also said your favorite vegetable was " + vegetable + ".")
return False
You can’t perform that action at this time.