score_list = [5,10,15,20,25,30]
sum_of_scores = 0
x = 0
while x
if x % 2 == 0:
sum_of_scores += score_list[x]
x += 1
print(sum_of_scores)
ㅠㅠ 파이썬인데..
score_list = [5,10,15,20,25,30]
sum_of_scores = 0
x = 0
while x
if x % 2 == 0:
sum_of_scores += score_list[x]
x += 1
print(sum_of_scores)
ㅠㅠ 파이썬인데..
파이선 코드를 그대로 powershell에 입력하셨다고요?
와일문이 왜 저따구?
고쳣습니다 죄송함다...
파이썬에서도 +=되나 - dc App
python 치고 쳐보셈