
handle: 20.500.12128/23166
Let us test the following program, e. g. with the input values 7 and 2: a = int(input('a: ')) b = int(input('b: ')) print(a // b, a % b.The Output: a: 7 b: 2 3 1 Correct results (division and remainder) were calculated. Now again, but with other input values: The Output: a: 7 b: 0 Traceback (most recent call last): File ".../test.py", line 3, in print(a // b, a % b) ZeroDivisionError: integer division or modulo by zero An runtime error occurred while executing the program as we tried to divide a number by zero. The program got into an exceptional state (something unexpected or abnormal has happened), so its execution was stopped. We say, that an exception was raised. In this case, it was the ZeroDevisionError (we can see it from the output message) (...).
scripting language, programming, Python
scripting language, programming, Python
| selected citations These citations are derived from selected sources. This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | 0 | |
| popularity This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network. | Average | |
| influence This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | Average | |
| impulse This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network. | Average |
