![Alt Text](https://res.cloudinary.com/practicaldev/image/fetch/s--kUEOA4be--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/8r9jdj2n3fg87raqdnsk.png)
https://atcoder.jp
String
# ex: hello
s = input()
print(s) # => "hello"
Number
# ex: 10
n = int(input())
print(n + 1) # => 11
Multiple String
# ex: hello world
s1, s2 = input().split()
print(s1) # => "hello"
print(s2) # => "world"
Multiple Number
# 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
Top comments (0)