Anonymous user
Community Data Science Workshops (Fall 2014)/Day 1 lecture: Difference between revisions
Community Data Science Workshops (Fall 2014)/Day 1 lecture (view source)
Revision as of 16:24, 8 November 2014
, 9 years ago→Lecture outline
imported>Jtmorgan (copy over content from Community_Data_Science_Workshops_(Spring_2014)/Saturday_April_5th_lecture) |
imported>Mako |
||
Line 10:
# review Friday material
#* math: using python as a calculator
#**addition, subtraction, multiplication, division
#**division shows something different: 8/2 versus 1/2
#* <tt>type()</tt>
#** there are different types of things in python (called objects)
#** variables that "know about the decimal place" (int) and variables that don't (floats)
#* variables
#** assignment of variaibles
#** e.g., math with variables: scale up a recipe, into an assignment
#* strings
#* booleans
#* <tt>if</tt>/<tt>elif</tt>/<tt>else</tt>
#* functions
#** exit(), help(), type()
# lists
#* purpose
|