Home > Introduction to Python > Collections
Module: Introduction to Python
- Lesson: Lists & Tuples
- Lesson: Dictionaries
- Lesson: Comprehensions & assignement
Lists & Tuples
- Self Learning Duration
- 30 mins
- Lecture Duration
- 90 mins
Building lists and working with Lists.
Building up a price series
Build stock market price series.
Dictionaries
- Self Learning Duration
- 30 mins
- Lecture Duration
- 90 mins
Working with dictionaries.
Creating and manpulating of a dictionary which has stock tickers and corresponding prices
Refer colombo stock exchange prices and create a dictionary which has ticker as the key and values (last traded, volume, open ) as a list. Create a function which would accept a ticker and print all stock realted information.
Comprehensions & assignement
- Self Learning Duration
- 30 mins
- Lecture Duration
- 60 mins
List, Dict comprehensions and how to effectively write loops.
Building a small program to construct a portfolio using a dictonary.