Python, inserting a boolean to a corresponding value
<p>I am having trouble creating a function that will accept corresponding values with either <code>True</code> or <code>False</code>. I want to know how to create a function where the parameters only accept boo-leans of <code>True</code> or <code>False</code> and return back a list of the corresponding parameter where each parameter is assigned a value. For example. </p>

<pre><code>toppings(True, True, True, False) -&gt; “The food has bacon lettuce tomato."
toppings(False, True, False, True) -&gt; “The food has lettuce mayo.”
toppings(False, False, False, False) -&gt; “You must be full!"
</code></pre>

<p>where a=bacon, b=lettuce, c=tomato, and d=mayo. </p>

<p>My attempt: </p>

<pre><code>def sandwich(b,l,t,m):
    if b and l and t and m == True:
        print "You must be hungry?"
    else:
        print "You must be full"    
</code></pre>
