update,
This commit is contained in:
1511
max015/T07/deliver/CDS1001T7Report.ipynb
Normal file
1511
max015/T07/deliver/CDS1001T7Report.ipynb
Normal file
File diff suppressed because it is too large
Load Diff
6
max015/T07/deliver/letter-000001.txt
Normal file
6
max015/T07/deliver/letter-000001.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
Dear John Lee,
|
||||
Thank you for purchasing Laster Printer X50.
|
||||
Wish you Merry Christmas and Happy New year!
|
||||
|
||||
Regards,
|
||||
Company LU
|
6
max015/T07/deliver/letter-000002.txt
Normal file
6
max015/T07/deliver/letter-000002.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
Dear Eric Chan,
|
||||
Thank you for purchasing Laster Printer X51.
|
||||
Wish you Merry Christmas and Happy New year!
|
||||
|
||||
Regards,
|
||||
Company LU
|
6
max015/T07/deliver/letter-000003.txt
Normal file
6
max015/T07/deliver/letter-000003.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
Dear Paul Chan,
|
||||
Thank you for purchasing LED Monitor M310.
|
||||
Wish you Merry Christmas and Happy New year!
|
||||
|
||||
Regards,
|
||||
Company LU
|
4
max015/T07/deliver/sales.txt
Normal file
4
max015/T07/deliver/sales.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
000001, John Lee, Laster Printer X50
|
||||
000002, Eric Chan, Laster Printer X51
|
||||
000003, Paul Chan, LED Monitor M310
|
||||
-1
|
18
max015/T07/deliver/test.py
Normal file
18
max015/T07/deliver/test.py
Normal file
@@ -0,0 +1,18 @@
|
||||
#edit this cell to write the program
|
||||
|
||||
hotel = []
|
||||
|
||||
with open("./votes.txt",'r') as fi:
|
||||
lines = fi.readlines()
|
||||
for l in lines:
|
||||
l2 = l.strip()
|
||||
hotel.extend(l2.split(', '))
|
||||
|
||||
|
||||
print("Disney: " + str(hotel.count("Disney")))
|
||||
print("Hotel ICON: " + str(hotel.count("Hotel ICON")))
|
||||
print("Ocean Park: " + str(hotel.count("Ocean Park")))
|
||||
|
||||
|
||||
|
||||
print("helloworld")
|
BIN
max015/T07/deliver/txt_content.png
(Stored with Git LFS)
Normal file
BIN
max015/T07/deliver/txt_content.png
(Stored with Git LFS)
Normal file
Binary file not shown.
13
max015/T07/deliver/votes.txt
Normal file
13
max015/T07/deliver/votes.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
Disney, Ocean Park
|
||||
Hotel ICON, Ocean Park
|
||||
Hotel ICON
|
||||
Ocean Park
|
||||
Disney, Ocean Park
|
||||
Hotel ICON, Ocean Park
|
||||
Hotel ICON
|
||||
Ocean Park
|
||||
Disney, Ocean Park
|
||||
Hotel ICON, Ocean Park
|
||||
Hotel ICON
|
||||
Ocean Park
|
||||
-1
|
Reference in New Issue
Block a user