QUOTE(Lady_Slayer @ Nov 20 2024, 19:03)

大哥哥,来玩儿吧
你的這種合成方式跟我預期的不同啊 lol
(IMG:[
i.imgur.com]
https://i.imgur.com/C8e54CV.jpeg)
----------------------------------------------------------------------
突然發現 Ticket 開到 1352 了
目前等級 LV 24 (35%)
說起來有人對裝備異動紀錄或 Ticket 紀錄有興趣嗎
----------------------------------------------------------------------
關於下午的質疑租借店計算有問題的部分我自己看是沒算錯,有閒的幫我也確認一下,感恩
Code 我現在看也覺得寫很爛,歡迎共編Code :
CODE
# 計算費用
if total_hours < 0:
# 提早還
fee = Deposit * 0.8
calculation_process += f"Fee: {Deposit} * 0.8 = {fee}\n"
elif 0 <= total_hours <= 72:
fee = Deposit * 0.6
calculation_process += f"Fee: {Deposit} * 0.6 = {fee}\n"
elif 72 < total_hours <= 120:
fee = Deposit * 0.4
calculation_process += f"Fee: {Deposit} * 0.4 = {fee}\n"
elif 120 < total_hours <= 168:
fee = Deposit * 0.2
calculation_process += f"Fee: {Deposit} * 0.2 = {fee}\n"
else:
fee = 0
calculation_process += "Fee: 0\n"
Ticket:1242
CODE
Expiry Date: 2024-11-18 15:02:03.083051
Current Date: 2024-11-20 12:41:14.359369
Time Expired: 1 days and 21 hours
Fee: 30000.0 * 0.6 = 18000.0
Ticket:1201
CODE
Expiry Date: 2024-11-14 15:55:00.735702
Current Date: 2024-11-20 12:52:04.992563
Time Expired: 5 days and 20 hours
Fee: 30000.0 * 0.2 = 6000.0
Ticket:1241
CODE
Expiry Date: 2024-11-18 15:02:02.995819
Current Date: 2024-11-20 11:47:21.077756
Time Expired: 1 days and 20 hours
Fee: 30000.0 * 0.6 = 18000.0