Code
Hub
Trending
Digest
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/geekcomputers/Python
/ process_date
Function
process_date
Day_of_week.py:8–11 ·
view source on GitHub ↗
(user_input)
Source
from the content-addressed store, hash-verified
6
7
8
def
process_date(user_input):
9
user_input = re.sub(r
"/"
,
" "
, user_input)
# substitute / with space
10
user_input = re.sub(r
"-"
,
" "
, user_input)
# substitute - with space
11
return
user_input
12
13
14
def
find_day(date):
Callers
1
Day_of_week.py
File · 0.70
Calls
1
sub
Method · 0.80
Tested by
no test coverage detected