Читать книгу Introduction to Python Programming for Business and Social Science Applications - Frederick Kaefer - Страница 52

Stop, Code, and Understand! SCU 2.3 Syntax Errors

Оглавление

Download the file “SCU 2_3.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 throws a syntax error when run. Read the text of the error and fix the code as necessary. Execute the modified program after the change to verify that the revised code runs and produces the correct result.


Introduction to Python Programming for Business and Social Science Applications

Подняться наверх