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
|
#Test While else
|
||||||
x = m.gtime()
|
x = 0
|
||||||
print(x.year)
|
while x < 10:
|
||||||
print(type(x))
|
print(x)
|
||||||
print(x.strftime("%A"))
|
x += 1
|
||||||
y = m.mdate(2022, 11, 30)
|
else:
|
||||||
print(y)
|
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