
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
숙제설명 강의에 2:30쯤 파일들이
news,
sample_data ,
관리종목.xlsx 3개 다 있어야 하나여?
"관리종목.xlsx" 화일은 다운로드 해서 업로드 했는데 그
럼, 나머지 news , sample_data "셀" 도 죄다 입력해서 올려야 하나여?


작성한 코드 및 에러 메세지
import openpyxl
import urllib.request
wb = openpyxl.load_workbook('관리종목.xlsx')
sheet = wb['종목']
new_rows = list(sheet.rows)[1:]
for row in new_rows:
url = f'https://ssl.pstatic.net/imgfinance/chart/item/area/year3/{row[1].value}.png'
urllib.request.urlretrieve(url, f"imgs/{row[0].value}.png")
File "<ipython-input-2-adc65f20839e>", line 7
url = f'https://ssl.pstatic.net/imgfinance/chart/item/area/year3/{row[1].value}.png'
^
IndentationError: expected an indented block after 'for' statement on line 6
