Complete the formula to sum values in cells A1 to A5.
=SUM([1])The SUM function adds all numbers in the range A1:A5.
Complete the formula to count how many cells in B1:B10 contain numbers.
=COUNT([1])The COUNT function counts numeric values in the range B1:B10.
Fix the error in the formula to calculate average of C1 to C5.
=AVERAGE([1])The AVERAGE function needs a range like C1:C5 to calculate the mean.
Fill both blanks to create a dictionary of word lengths for words longer than 4 letters.
{word: [1] for word in words if len(word) [2] 4}The dictionary maps each word to its length using len(word). The condition len(word) > 4 filters words longer than 4 letters.
Fill all three blanks to create a dictionary of uppercase keys and values greater than zero.
result = [1]: [2] for k, v in data.items() if v [3] 0}
The dictionary uses uppercase keys with k.upper(), values v, and filters for values greater than zero with v > 0.