Lecture 2 - Introduction To Python
Lecture 2 - Introduction To Python
PYTHON
Python
The Jupiter Notebooks
https://www.anaconda.com/download
Machine Learning
Python
Python
Machine Learning
Python
• Variables in Python
• Data Types in Python
Integer (int): 1, 2, 5,… List (list): [1, 2, ‘abc’]
Float (float): 1.2. 3.41… Tuple (tuple): (5, 6, 7)
Boolean (bool): true, false Sets (set): {‘cookies, ‘chocolate’}
String (str): ‘a’, “cat”… Dictionaries (dict):
“dog”:1, “cat”:2)
Machine Learning
Operators
Machine Learning
Operators
Machine Learning
Operators
Machine Learning
If Else Statements
Machine Learning
Loops
Machine Learning
Loops
Machine Learning
Functions
Machine Learning
Objects and Class
Machine Learning
Machine Learning
Objects and Class
Machine Learning
Machine Learning
Objects and Class
Machine Learning
Machine Learning
Objects and Class
Machine Learning