How can I find the missing value more concisely? How can I find the missing value more concisely? python python