摘要:
print(" ")list2 = [1, 2, 3, 4, 5, 6, 55, 33, 66, 87]for index, item in enumerate(list2[:]): print(index,' ',item) list2.remove(item)print(list2)print( 阅读全文
摘要:
1、练习 case。。。 when 。。 then 。。 else 。。。 end as 。。。 SELECTCASE WHEN degree BETWEEN 0 AND 59 THEN '及格' WHEN degree BETWEEN 60 and 80 THEN '良好' ELSE '优秀'EN 阅读全文
摘要:
# time,计算2天前的时间 now_timestamp = time.time()two_day_before = now_timestamp - 60*60*24*2two_days_local = time.localtime(two_day_before) time.strftime('% 阅读全文