Python Programming Exercises, Gently Explained
66
for i in range(1000000):
assert isValidDate(d.year, d.month, d.day) == True
d += oneDay
Try to write a solution based on the information in this description. If you still
have trouble
solving this exercise, read the
Solution Design and Special Cases and Gotchas sections for
additional hints.
Prerequisite concepts: import statements,
Boolean operators, chaining operators, elif
statements
Dostları ilə paylaş: