Update moving_average.py

This commit is contained in:
bt3gl 2023-07-30 15:58:36 -07:00 committed by GitHub
parent 50ba4aaed4
commit a9127ff3fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.