-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathclass18.py
More file actions
63 lines (48 loc) · 1.12 KB
/
Copy pathclass18.py
File metadata and controls
63 lines (48 loc) · 1.12 KB
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
# numbers = [10, 3, 7, 8, 14, 21, 24]
# result = []
# for i in range(len(numbers)):
# if numbers[i]%2 == 0:
# result.append(numbers[i])
# print(result)
# import my_module as myfunctions
# y = [10, 3, 7, 8, 14, 21, 24]
# print(myfunctions.max_num(y))
# print(myfunctions.myfun(y))
# import math
# print(math.sqrt(16))
# print(math.pow(2,4))
# print(2**4)
# import os
# print(os.getcwd())
# import random
# for i in range(50):
# print(random.randint(1,15),end=" ")
# import datetime as dt
# # print(dt.date.today().month)
# mydate = dt.date(2025,12,12)
# print(type(mydate))
# import calendar
# print(type(calendar.month(2025,2)))
# s = ''' February 2025
# Mo Tu We Th Fr Sa Su
# 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
# '''
# print(s)
# myfile = open('input.txt','r')
# data = myfile.read()
# # print(data)
# lst = []
# newData = data.split("\n")
# for lines in newData:
# lst.append(lines[22:24])
# print(lst)
# UTC = []
# for line in data:
# lst = line.split('(')
# final = lst[1].split(",")
# UTC.append(final[1])
# print(UTC)