Lecture2 - Quick Tour of Python

instructions to execute jupyter notebook code

Question: what do programs do?

Programs mainly manupulate or process data

Numeric data types

A not for c/java programmers, in python we don't declare variable and their types. We create variable at any point in program and you can use it to store any kind of data.

Text data

There is no special data type for charecters. There is only string to represent text data

Higher level data types

Matrices or multidimensional lists are possible with lists

Lists are mutable

Dictionary

Named collection of items

Some useful built in functions

Questions