Complete the code to assign the value 10 to the variable 'limit'.
limit = [1]The variable 'limit' should be assigned the integer value 10 without quotes.
Complete the code to check if the variable 'count' is greater than 5.
{% if count [1] 5 %}
{{'Count is greater than 5'}}
{% endif %}The condition should check if 'count' is greater than 5, so use the '>' operator.
Fix the error in the loop to iterate over the list 'items'.
{% for item in [1] %}
{{ item }}
{% endfor %}The loop should iterate over the list named 'items'. Using 'items' is correct.
Fill both blanks to create a dictionary comprehension that maps words to their lengths only if length is greater than 3.
{ [1]: [2] for word in words if len(word) > 3 }The dictionary comprehension uses the word as key and its length as value.
Fill all three blanks to create a dictionary with uppercase keys and values only if value is greater than 0.
result = { [1]: [2] for k, v in data.items() if v [3] 0 }The keys are uppercase versions of k, values are v, and the condition checks if v is greater than 0.