|
|
вернуться в форумПоказать все сообщения Спрятать все сообщенияf = int(input()) friends = [] cnt = 0 for i in range(f): j = str(input()) if j[-4:] == "+one": cnt += 200 else: cnt+= 100 if ((cnt/100)+2) == 13: cnt += 300 else: cnt += 200 print(cnt) I solve it by this |
|
|