You are viewing a single comment's thread. Return to all comments →
python3
def libraryFine(d1, m1, y1, d2, m2, y2): if y1 > y2: return 10000 elif y1 == y2 and m1 > m2: return 500 * (m1 - m2) elif y1 == y2 and m1 == m2 and d1 > d2: return 15 * (d1 - d2) else: return 0
Seems like cookies are disabled on this browser, please enable them to open this website
Library Fine
You are viewing a single comment's thread. Return to all comments →
python3