среда, 18 января 2017 г.

чего стоит одна строчка

import sys
x, y = [int(s) for s in sys.stdin.readline().split(" ")] print(x + y)

2 комментария:

  1. with open('test2.txt', 'r') as f:
    s += f.readline().strip()

    ОтветитьУдалить
  2. ' '.join(some_list)
    Ah, just a few days passed, and there is nothing special in this string for me now...

    ОтветитьУдалить