Post what was in the draft
I will update it if I am addicted to competitive programming
Competition.py
"""
Input value>>> ABC
"""
str = input() # >>> str = "ABC"
strs = list(input()) # >>> strs = ["A","B","C"]
"""
Input value>>> 1
"""
int = int(input()) # >>> int = 1
"""
Input value>>> 1 2
"""
x,y = map(int,input().split()) # >>> x = 1, y = 2
"""
Input value>>> 1 2 3 4 5 ... n
"""
lists = input().split() # >>> lists = ['1','2','3',...,'n']
lists = list(map(int,input().split())) # >>> lists = [1,2,3,4,5,...,n]
"""
Input value>>> FTFTTFTTTFTTTTF
"""
lists = input().split('T')
# >>> list = ['F', 'F', '', 'F', '', '', 'F', '', '', '', 'F']
"""
Input value>>> 3
hoge
foo
bar
"""
num = int(input())
lists = [input() for i in range(n)]
# >>> num = 3
# >>> lists = ['hoge','foo','bar']
"""
Input value>>> 1 2 2 3 1
4 5 3 4 1 2 3 4
2 3 5 6 0 2
"""
while True:
try:
lists = list(map(int,input().split()))
#loop
#1st lap list= [1,2,2,3,1]
#2nd lap list= [4,5,3,4,1,2,3,4]
#3rd lap list= [2,3,5,6,0,2]
#4th lap error(out of range)So go to except.
except:
break;
# OR
lists = []
while True:
try:
lists.append(list(map(int,input().split())))
except:
break;
#lists = [[1, 2, 2, 3, 1], [4, 5, 3, 4, 1, 2, 3, 4], [2, 3, 5, 6, 0, 2]]
"""
Input value>>>
"""
"""
Input value>>>
"""
"""
Input value>>>
"""
"""
Input value>>>
"""
"""
Input value>>>
"""
"""
Input value>>>
"""
"""
Input value>>>
"""