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