py_log.log 752 B

1234567891011121314
  1. 2023-12-18 15:05:19,255 INFO The values of x and y are 2 and 5.
  2. 2023-12-18 15:05:19,256 INFO x/y successful with result: 0.4.
  3. 2023-12-18 15:05:19,256 INFO The values of x and y are 3 and 7.
  4. 2023-12-18 15:05:19,256 INFO x/y successful with result: 0.42857142857142855.
  5. 2023-12-18 15:05:19,256 INFO The values of x and y are 6 and 12.
  6. 2023-12-18 15:05:19,256 INFO x/y successful with result: 0.5.
  7. 2023-12-18 15:05:19,256 INFO The values of x and y are 4 and 0.
  8. 2023-12-18 15:05:19,256 ERROR ZeroDivisionError
  9. Traceback (most recent call last):
  10. File "log.py", line 28, in <module>
  11. x/y
  12. ZeroDivisionError: division by zero
  13. 2023-12-18 15:05:19,256 INFO The values of x and y are 10 and 1.
  14. 2023-12-18 15:05:19,256 INFO x/y successful with result: 10.0.