Python Sets

This tutorial defines what Python sets are, how to measure the size of sets in Python, how to add or remove elements in a set, how to loop through a set. I will also explain why sets are not subscriptable in Python.

Python Strings

The current post covers how to use strings in Python. Specifically, it covers how you can define a string, how to index and slice a string, and how to combine different strings and print them out. Finally, it also covers how to add a variable to a string.

Plot Stock Price Time-series Data

This tutorial will show you how to plot stock time-series data using Python. Stock prices vary in different trading days, and thus it would be of interest to the overall trends by plotting it. Needed Packages yfinance — A python library that offers a threaded and Pythonic way to download market data from Yahoo! Finance. matplotlib — A … Read more