Created
October 30, 2023 05:00
-
-
Save Poxios/ee4ebb5cb82077d1089d6350cd59295d to your computer and use it in GitHub Desktop.
jungsan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
p = { | |
"영현": 0, | |
"승언": 0, | |
"준하": 0, | |
"종민": 0, | |
"관록": 0, | |
"도윤": 0, | |
"동형": 0, | |
"준혁": 0, | |
"형준": 0, | |
"태헌": 0, | |
"정익": 0, | |
} | |
a = [ | |
[103_500, ["영현", "승언", "준하", "종민", "관록"]], | |
[144_400, ["도윤", "동형", "준혁", "태헌", "형준", "정익"]], | |
[98_000, ["영현", "승언", "준하", "종민", "도윤", "동형", "준혁", "형준", "태헌"]], | |
] | |
for i in a: | |
for j in i[1]: | |
p[j] += i[0] // len(i[1]) | |
print(p) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment