1. 요일 확인하기 weekday는 0~6까지의 숫자, integer타입으로 출력된다. import datetime now = datetime.datetime.now() weekday= now.weekday() print(type(weekday)) 2. 파일 생성하기 명언이 담겨있는 quotes.txt파일을 읽기 모드로 readlines로 불러와 리스트 타입으로 저장하고, random모듈을 이용하여 하나의 문장만 선택한다. import random with open(file="quotes.txt") as f: data = f.readlines() pick_one_quotes = random.choice(data) quotes.txt "There is no traffic jam along the extra..