Complete the formula to get the weekday number of the date in cell A1.
=WEEKDAY([1])The WEEKDAY function needs a cell reference or date value. Using A1 correctly points to the date in that cell.
Complete the formula to find the date 5 workdays after the date in cell B2.
=WORKDAY([1], 5)
The WORKDAY function needs a start date as the first argument. B2 correctly refers to the start date cell.
Fix the error in the formula to get the weekday number of the date in cell C3 with Monday as day 1.
=WEEKDAY(C3, [1])Using 2 as the second argument makes WEEKDAY count Monday as 1, Tuesday as 2, and so on.
Fill both blanks to create a dictionary of words and their lengths, but only 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 with uppercase keys, values from data, and only include values greater than 0.
result = [1]: [2] for k, v in data.items() if v [3] 0}
The keys are uppercase using k.upper(). The values are v. The condition v > 0 filters positive values.