Created
June 7, 2021 08:00
-
-
Save selva86/29138717ec7261420fab0b20ecb10645 to your computer and use it in GitHub Desktop.
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
# 1. Parse the following strings to datetime. | |
s1 = "2010 Jan 1" | |
s2 = '31-1-2000' | |
s3 = 'October10, 1996, 10:40pm' | |
# 2. How many days has it been between the end of first world war to the beginning of second world war? | |
"11 November 1918" to "1 september 1939" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment