CS 105 Lecture Notes - Lecture 6: Iterator, Substring

49 views3 pages
Verified Note

Document Summary

Information that is stored and manipulated by computer programs: recall, this is fundamentally what computers do: store and manipulate data, computers that interact with the world, treat interfaces to the world as data to manipulate! Python data types: how do you know what you have, use the type() function! Operators: some are what you expect: +, -, , ** is exponentiation (e. g. , 2^3), abs () is absolute value, note: (cid:858)^(cid:859) is (cid:271)i(cid:374)ar(cid:455) xo , (cid:374)ot e(cid:454)po(cid:374)e(cid:374)tiatio(cid:374)! What if we mix types: first: don"t. be explicit, don"t leave it up to the programming language. Another name for module: some modules come with python, some have to be installed, some you define, how to include a library in your code, import as

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