Last active
April 25, 2020 20:09
-
-
Save carlynorama/110c366aeaa3838fa9960a31e4e920f3 to your computer and use it in GitHub Desktop.
Utility for Day of the Week
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
#!/usr/bin/env python3 | |
#imports go here | |
import datetime | |
#functions go here | |
def printDay(): | |
d = datetime.datetime.now() | |
#print(d.strftime("%A %d %B %Y")) | |
print(d.strftime("%A")) | |
#make it run | |
if __name__ == "__main__": | |
printDay() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment