CS 110 Lecture Notes - Lecture 1: Guido Van Rossum, Problem Solving
Document Summary
Research is key to improving programming skills, don"t hesitate to look up how to do something. Python, the language that will be used in cs 110, was created in 1991 by guido van rossum. Examples of binary files include jpeg and png. Input (get data from a user or file) Syntax (forgetting the colon after an if-statement, causes a compiler error) Example: forgetting the colon after an if-statement. Causes a compiler error, the code won"t run. The most difficult error to debug, because it won"t cause a compiler error. The code will run, but will not produce the correct result. Object - data in python (int, double, float, string, etc*) // --> division with an integer solution (5//2=2) And " " both denote strings (e. g. hello world and "hello world" are both strings) This is because using one allows you to use the other within the string without an error ( he said, "this.