Python Data Structures. Part 1…

Data Camp Intro to Python Data Science

Non-Primitive Data Structures

Array

List

This is how we define lists
some examples on list manipulations

Files

  1. open()- opens file in a system
  2. read()- reads entire file
  3. readline()- reads file by line
  4. write()- write to a file
  5. close()- close the file
some examples

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store