import time
import logging
import multiprocessing
def sleep_5_seconds():' Will sleep 5 seconds')
time.sleep(5)' Done sleeping 5 seconds')
def sleep_10_seconds():' Will sleep 10 seconds')
time.sleep(10)' Done sleeping 10 seconds')
def main():
logging.basicConfig(level = logging.INFO)
PROCESS1 = multiprocessing.Process(target = sleep_5_seconds)
PROCESS2 = multiprocessing.Process(target = sleep_10_seconds)
INFO:root: Will sleep 5 seconds
INFO:root: Will sleep 10 seconds
After 5 seconds
INFO:root: Done sleeping 5 seconds
After another 5 seconds
INFO:root: Done sleeping 10 seconds

Photo by Headway on Unsplash

Find the duplicate in an array of N integers

The apprentice

Photo by Glenn Carstens-Peters on Unsplash

Exploring the Netflix dataset

#import pandas as pddf = pd.read_csv("../1_netflix/data/netflix_titles.csv",index_col='title')##…

Madhumitha Kannan

I’m a Computer Science Undergrad on a quest to innovate and build stuff with code. Find all my posts at

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store