EDU4SDS Lecture 1 Python Intro
EDU4SDS Lecture 1 Python Intro
Adit Murali
University of Strasbourg
1 Introduction
Python Basics 1
2 Goals
• Python Fundamentals
• Numbers, Logic, Data Types
• Functions
• Conditionals
• Loops
• Classes
• Array/Matrix Operations
• Numpy
Python Basics 1
3 Data Types & Containers
Python Basics 1
4 Data Types & Containers
Python Basics 1
5 Data Types & Containers
• Some examples!
Python Basics 1
6 Functions
• Functions do stuff!
• Examples:
• print("Hello World!")
• sum([1, 4, 7.8, -10])
• Take inputs (values inside the parentheses), and give one
or more outputs
• Built-In & Custom
Python Basics 1
7 Conditionals and Loops
Python Basics 1
8 Functions + Conditionals and Loops
• Some examples!
Python Basics 1
9 Classes
Python Basics 1
10 Classes
• Basic Example
Python Basics 1
11 Classes
Python Basics 1
12 Array and Matrix Operations
Python Basics 1
13 Array and Matrix Operations
Python Basics 1
14 Array and Matrix Operations
• Some examples!
Python Basics 1