Compare commits
No commits in common. "a593761b2dbe871f04f8044389b1844e6740a770" and "088d6036079fef64b9e0ac67e6f2b766daf4b9d5" have entirely different histories.
a593761b2d
...
088d603607
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,4 +0,0 @@
|
||||
__pycache__/
|
||||
.pyc
|
||||
.env
|
||||
.key
|
14
main.py
14
main.py
@ -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")
|
||||
|
@ -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)
|
Loading…
x
Reference in New Issue
Block a user