Skip to content

Commit 1847653

Browse files
authored
Refactor weighted_srs function formatting
1 parent 55f3f3c commit 1847653

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Week02/weighted_riza_arslan.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
student_id = "244101020"
2-
full_name = "Rıza Arslan"
31
import random
42
def weighted_srs(data, n, weights, with_replacement=False):
53
w = weights if weights else [1]*len(data)

0 commit comments

Comments
 (0)