Skip to content

Commit 37ce4f9

Browse files
Update weighted_mustafafurkan_yilmaz.py
1 parent ba626a7 commit 37ce4f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Week03/weighted_mustafafurkan_yilmaz.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import random
22

3-
def weighted_srs(data, n, weights = None, with_replacement = False):
3+
def weighted_srs(data, n, weights, with_replacement = False):
44
if weights == None and with_replacement == False:
55
return random.sample(data, n)
66
else:

0 commit comments

Comments
 (0)