Deux entrées en une seule ligne Python
#two input in one line python
X, N = [int(x) for x in input().split()]
vip_codes
#two input in one line python
X, N = [int(x) for x in input().split()]
x, y = input("Enter a two value: ").split()
print("Number of boys: ", x)
print("Number of girls: ", y)
print()
lines = []
while True:
line = input()
if line:
lines.append(line)
else:
break
text = '\n'.join(lines)
# taking multiple inputs at a time separated by comma
x = [int(x) for x in input("Enter multiple value: ").split(",")]
print("Number of list is: ", x)
print("Enter/Paste your content. Ctrl-D or Ctrl-Z ( windows ) to save it.")
contents = []
while True:
try:
line = input()
except EOFError:
break
contents.append(line)
inputs = []for i in range(3): # loop 3 times inputs.append(input())