DC Field | Value | Language |
dc.contributor.author | Michaličková, Viera | - |
dc.contributor.author | Hernández-Figueroa, Zenón José | - |
dc.contributor.author | González-Domínguez, José Daniel | - |
dc.contributor.author | Rodríguez-del-Pino, Juan Carlos | - |
dc.contributor.author | Přichystal, Jan | - |
dc.contributor.author | Chromiński, Kornel | - |
dc.date.accessioned | 2022-04-12T06:21:55Z | - |
dc.date.available | 2022-04-12T06:21:55Z | - |
dc.date.issued | 2021 | - |
dc.identifier.isbn | 978-80-558-1784-2 | - |
dc.identifier.uri | http://hdl.handle.net/20.500.12128/23166 | - |
dc.description.abstract | 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 <module> 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) (...). | pl_PL |
dc.language.iso | en | pl_PL |
dc.publisher | Nitra : Constantine the Philosopher University in Nitra | pl_PL |
dc.relation | Erasmus+ FITPED Work-Based Learning in Future IT Professionals Education Project 2018-1-SK01-KA203-046382 | pl_PL |
dc.rights | Uznanie autorstwa-Użycie niekomercyjne-Bez utworów zależnych 3.0 Polska | * |
dc.rights.uri | http://creativecommons.org/licenses/by-nc-nd/3.0/pl/ | * |
dc.subject | Python | pl_PL |
dc.subject | scripting language | pl_PL |
dc.subject | programming | pl_PL |
dc.title | Python Intermediate | pl_PL |
dc.type | info:eu-repo/semantics/book | pl_PL |
Appears in Collections: | Książki/rozdziały (WNŚiT)
|