mirror of
https://github.com/autistic-symposium/master-algorithms-py.git
synced 2025-06-19 12:24:11 -04:00
Update moving_average.py
This commit is contained in:
parent
50ba4aaed4
commit
a9127ff3fc
1 changed files with 4 additions and 0 deletions
|
@ -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.
|
Given a stream of integers and a window size, calculate the moving average of all integers in the sliding window.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue