-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathupdate.py
More file actions
33 lines (23 loc) · 740 Bytes
/
update.py
File metadata and controls
33 lines (23 loc) · 740 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import json
import sys
from functions import get_user_info
# Expected Inputs
# - Username
# - Platform
def main():
# Create a a dictionary with all the required user info
user_info = get_user_info(username = sys.argv[1], platform = sys.argv[2])
print(json.dumps(user_info, sort_keys = False, indent = 4))
# Count how many folders immediate subfolder each kyu level has
# if Statistics kyu != kyu-Folders
# compare Folders with user_info challenge names
# return result
# for each in result
# create a Folder with kyu challenge name
# create within this folder
# solution.py - empty file
# notes.txt - empty file
# README.md - based on Template
# Ask user to submit their solution?
if __name__ == "__main__":
main()