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