DS4UX (Spring 2016)/Day 3 lecture: Difference between revisions

From CommunityData
No edit summary
No edit summary
Line 1: Line 1:
== Review ==
''mostly covered in coding challenge review?''
* nested data structures
* 'in'
* nested loops and conditionals
* random (example of standard library)
== New concepts ==
*while loops
*break and continue
*string formatting
*tuples
:*type conversion
:*copying vs. changing a data structure in-place, see: http://openbookproject.net/thinkcs/python/english3e/tuples.html
*dictionaries
*dictionaries
*string formatting
 
*reading text file formats in/out
*reading text file formats in/out
*user-defined functions
:*csv
:*tsv
:*open, read, readlines

Revision as of 02:37, 6 April 2016

Review

mostly covered in coding challenge review?

  • nested data structures
  • 'in'
  • nested loops and conditionals
  • random (example of standard library)

New concepts

  • while loops
  • break and continue
  • string formatting
  • tuples
  • dictionaries
  • reading text file formats in/out
  • csv
  • tsv
  • open, read, readlines