Читать книгу Introduction to Python Programming for Business and Social Science Applications - Frederick Kaefer - Страница 54
Stop, Code, and Understand! SCU 2.4 Exceptions
ОглавлениеDownload the file “SCU 2_4.py” from the companion website and save it either on your computer or on a removable storage device. Open the file in the Python IDLE editor and execute the program to see that it results in an exception. Remove the quotation marks around the value in the assignment statement in the line indicated to resolve the issue. Execute the modified program to verify that the revised code executes properly and that no exception occurs.
Description