From a9127ff3fcf05847be1ef0d43e587988635c3158 Mon Sep 17 00:00:00 2001 From: bt3gl <138340846+bt3gl-google@users.noreply.github.com> Date: Sun, 30 Jul 2023 15:58:36 -0700 Subject: [PATCH] Update moving_average.py --- stacks_and_queues/moving_average.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stacks_and_queues/moving_average.py b/stacks_and_queues/moving_average.py index 5733348..23b260f 100644 --- a/stacks_and_queues/moving_average.py +++ b/stacks_and_queues/moving_average.py @@ -1,3 +1,7 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# author: bt3gl + ''' Given a stream of integers and a window size, calculate the moving average of all integers in the sliding window.