摘要:
第三方库CSV中提供了2个类来写CSV文件 csv.writer class csv.writer class provides two methods for writing to CSV. They are writerow() and writerows(). writerow(): This 阅读全文
摘要:
Given an integer array nums, return the third distinct maximum number in this array. If the third maximum does not exist, return the maximum number. 第 阅读全文
摘要:
def func(): try: x = 1 y = 0 assert x + y == 0, 'x +y != 0, x + y is {}'.format(x + y) except AssertionError as err: # raise AssertionError('abc ') # 阅读全文