Python Real Life Algorithm Examples