Skip to content

Commit d5ba1bb

Browse files
committed
Finished working on the gigasecond challenge
1 parent 153e67c commit d5ba1bb

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed
349 Bytes
Binary file not shown.
Binary file not shown.

gigasecond/gigasecond.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1+
from datetime import datetime, timedelta
2+
13
def add(moment):
2-
pass
4+
date_N_seconds_later = moment + timedelta(seconds=1000000000)
5+
return date_N_seconds_later

0 commit comments

Comments
 (0)