Skip to content

Commit fe6d37e

Browse files
authored
Update random-pick-with-weight.py
1 parent 79e0ce3 commit fe6d37e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Python/random-pick-with-weight.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
# Arguments are always wrapped with a list, even if there aren't any.
3030

3131
import random
32+
import bisect
3233

3334

3435
class Solution(object):

0 commit comments

Comments
 (0)