장수창

status to txt file

......@@ -20,6 +20,10 @@ datasets = datasets[:-1]
for i in range(0,4):
datasets[i] = datasets[i].replace(" ","")
datasets.append(day_month)
datasets.append(day_day)
print(datasets)
\ No newline at end of file
# insert into text file
date = f"{day_month}월 {day_day}일"
f = open("status.txt", 'w')
f.write(date + "\n")
for i in datasets:
f.write(i + "\n")
f.close()
\ No newline at end of file
......
6월 17일
확진환자12,155
격리해제10,760
검사진행22,632
사망자278