Complete the formula to sum values in cells A1 to A5.
=SUM([1])The correct range syntax in Excel uses a colon ':' to specify a range of cells, like A1:A5.
Complete the formula to calculate the average of cells B1 to B10.
=AVERAGE([1])To calculate the average of a range, use a colon ':' to specify the range like B1:B10.
Fix the error in the formula to count non-empty cells in C1 to C20.
=COUNTA([1])The correct range syntax uses a colon ':' to specify the range C1:C20 for COUNTA.
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 filters words longer than 4 letters using > 4.
Fill all three blanks to create a dictionary of uppercase words and their lengths for words longer than 3 letters.
{ [1]: [2] for word in words if len(word) [3] 3 }The dictionary uses the uppercase version of each word as the key (word.upper()), the length as the value (len(word)), and filters words longer than 3 letters (> 3).