weight=65
>>> for x in year(1,16):
moon_weight=weight*0.165
print('year %s weight %s moon weight %s '%(x,weight,moon_weight)
weight(요기빨간거쳐짐)=weight+1
     
SyntaxError: invalid syntax

weight에 빨간줄 쳐지면서 문법오류라고 뜨는데요

왜 틀렸는지 궁금함 알려조 


모가틀린거야 틀린 이유를 모르겠어