Demo entry 6337266



Submitted by anonymous on Dec 09, 2016 at 00:31
Language: Python. Code size: 232 Bytes.

def page_views_over_time(data, url, start_time, end_time):
    count = 0
    for d in data:
        if (d.url == url and
                        start_time < d.timestamp < end_time):
            count += 1
    return count

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).