https://atcoder.jp
Нить
# ex: hello s = input() print(s) # => "hello"
Число
# ex: 10 n = int(input()) print(n + 1) # => 11
Несколько строк
# ex: hello world s1, s2 = input().split() print(s1) # => "hello" print(s2) # => "world"
Несколько номеров
# ex: 2 3 a, b = map(int, input().split()) print(a * b) # => 6
# ex: 1 2 3 4 5 6 7 8 9 10 l = [ int(x) for x in input().split() ] print(sum(l)) # => 55
Оригинал: “https://dev.to/yutagoto/standard-input-for-atcoder-contest-python3-14og”