Skip to content

Commit 90bc906

Browse files
authored
Update tweet-counts-per-frequency.py
1 parent 43338f2 commit 90bc906

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/tweet-counts-per-frequency.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def getTweetCountsPerFrequency(self, freq, tweetName, startTime, endTime):
127127
:rtype: List[int]
128128
"""
129129
delta = self.__lookup[freq]
130-
result = [0]*((endTime- startTime)//delta+1)
130+
result = [0]*((endTime-startTime)//delta+1)
131131
it = self.__records[tweetName].lower_bound(startTime)
132132
while it is not None and it.val <= endTime:
133133
result[(it.val-startTime)//delta] += 1

0 commit comments

Comments
 (0)