-
Notifications
You must be signed in to change notification settings - Fork 0
/
modules.py
98 lines (70 loc) · 1.86 KB
/
modules.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# core modules
# ex 1
# import datetime
# today = datetime.date.today()
# print(today)
# ex 2
# from datetime import date
# today = date.today()
# print(today)
# ex 3
# from uuid import uuid5
# id = uuid5()
# print(id)
# ex 4
# import uuid
# id = uuid.uuid4()
# print(id)
# from camelcase import CamelCase
# c = CamelCase()
# text = "Hello World!"
# print(c.hump(text))
#custom
# from loops import fruits // to begin operation of another file on a variable in this file. That is print(fruits)
# from loops import * // to begin operation of another file of all variable in this file
# from loops import person as py // to produce the short form for that variable.That is print(py)
#:::::::::::::::::::::::: CLASSWORK ::::::::::::::::::;;;;
#:::::::::::::::::: QUESTION 1 REAL ::::::::::::::;;;
# import time
# print('Charles Eromose')
# time.sleep(3)
# print('charles Eromose')
import time
# printing the start time
print('Charles Eromose')
# using sleep() to hault the code execution
time.sleep(3)
print('Charles Eromose')
time.sleep(3)
print('Charles Eromose')
time.sleep(3)
print('Charles Eromose')
time.sleep(3)
print('Charles Eromose')
time.sleep(3)
print('Charles Eromose')
time.sleep(3)
print('Charles Eromose')
time.sleep(3)
print('Charles Eromose')
time.sleep(3)
print('Charles Eromose')
#:::::::::::::::::::::::::: QUESTION 1b ::::::::::::::::::::::::::
# import time
# printing the start time
# print('This statement is printed at: ', end='')
# print(time.ctime())
# # using sleep() to hault the code execution
# time.sleep(5)
# # printing the next statement
# print('This statement is printed at: ', end='')
# print(time.ctime())
# time.sleep(5)
# print('This statement is printed at: ', end='')
# print(time.ctime())
# :::::::::::: ASSIGNMENTS :::::::::::::::::;
# import module
import calendar
yy = 2024
# display the calendar
print(calendar.calendar(yy))