Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Week02/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"workbench.colorCustomizations": {
"minimap.background": "#00000000",
"scrollbar.shadow": "#00000000"
}
}
Binary file added Week02/__pycache__/data.cpython-313.pyc
Binary file not shown.
3 changes: 3 additions & 0 deletions Week03/weighted_alihan_esentas.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import random
def weighted_srs(data, n, weights, with_replacement):
return random.choices(data, weights=weights, k=n) if with_replacement==True else random.sample(data, k=n)