CS 110 Lecture Notes - Lecture 1: Guido Van Rossum, Problem Solving

53 views2 pages
31 Aug 2016
Course
Professor

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.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents