<style> .reveal { font-size: 20px; } .reveal div.para { text-align: left; } .reveal ul { display: block; } .reveal ol { display: block; } img[alt=drawing] { width: 200px; } </style> # COMP1010 ## 3 - Python Introduction --- ## Why not just use spreadsheets? * No clear sequence * Hard to tell which lines depend on others * Hard to isolate and identify the source of errors * Can't automate testing * Limited functionality * No/Limited GUI (graphical user interface) * Nested IF statements make it hard to see what's going on in one line * Sometimes spreadsheets crash --- ## Why not just use spreadsheets? * Spreadsheets focus on the *what* and hide the *how*. * For many applications this is the right choice, but... * Around 94% of spreadsheets contain errors ([citation](https://www.researchgate.net/publication/228662532_What_We_Know_About_Spreadsheet_Errors)) * For any given spreadsheet formula, there's a 1% chance it contains an error ([citation](http://tuck-fac-cen.dartmouth.edu/images/uploads/faculty/serp/Errors.pdf)) * [An example spreadsheet with a bug](https://docs.google.com/spreadsheets/d/1iC3K7gLN6C_9aWXSRvM4h5ZFdis7r7RDsFxwtknTDqE/edit?usp=sharing) * Even if something *can* be done with spreadsheets, there is still benefit in doing it in a programming language (like python) --- ## Colab Documents * Who knows if I'll ever use slides again? (Spoiler: I will, but not as much.) * Starting point in the files for this lecture. ---
{"metaMigratedAt":"2023-06-16T19:37:14.923Z","metaMigratedFrom":"YAML","title":"3 Python Introduction","breaks":true,"slideOptions":"{\"transition\":\"slide\"}","contributors":"[{\"id\":\"969c3c3d-0ef4-4f08-b22a-2f2b8951224b\",\"add\":1743,\"del\":161}]"}
    766 views