Assertion error with Exercise 8

Original learning rate: 0.5
Updated learning rate after 10 epochs: 0.4854368932038835
Updated learning rate after 100 epochs: 0.3846153846153846

AssertionError Traceback (most recent call last)
in
11 print("Updated learning rate after {} epochs: ".format(epoch_num_2), learning_rate_2)
12
—> 13 schedule_lr_decay_test(schedule_lr_decay)

~/work/release/W2A1/public_tests.py in schedule_lr_decay_test(target)
287
288 assert np.isclose(output_1, expected_output_1),f"output: {output_1} expected: {expected_output_1}"
→ 289 assert np.isclose(output_2, expected_output_2),f"output: {output_2} expected: {expected_output_2}"
290
291 learning_rate = 0.3

AssertionError: output: 0.45454545454545453 expected: 0.5

You should compute the floor of the division operation for the last term in the denoninator. Using / does floating point division. To perform the floor operation, use either // or numpy.floor.