Compare commits

..

No commits in common. "a593761b2dbe871f04f8044389b1844e6740a770" and "088d6036079fef64b9e0ac67e6f2b766daf4b9d5" have entirely different histories.

3 changed files with 7 additions and 16 deletions

4
.gitignore vendored
View File

@ -1,4 +0,0 @@
__pycache__/
.pyc
.env
.key

14
main.py
View File

@ -1,7 +1,7 @@
import mymodule as m
x = m.gtime()
print(x.year)
print(type(x))
print(x.strftime("%A"))
y = m.mdate(2022, 11, 30)
print(y)
#Test While else
x = 0
while x < 10:
print(x)
x += 1
else:
print("Bye")

View File

@ -1,5 +0,0 @@
from datetime import datetime as dt
def gtime():
return dt.now()
def mdate(y, mo, d):
return dt(y, mo, d)