Horje
two input in one line python Code Example
two input in one line python
#two input in one line python

X, N = [int(x) for x in input().split()]
how to take two inputs in a single line in python
x, y = input("Enter a two value: ").split()
print("Number of boys: ", x)
print("Number of girls: ", y)
print()
how to take two inputs in a single line in python
# 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)
multiple line input python
lines = []
while True:
    line = input()
    if line:
        lines.append(line)
    else:
        break
text = '\n'.join(lines)
input two numbers in python in a single line
inputs = []for i in range(3):  # loop 3 times	inputs.append(input())
multiple lines input python
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)




Python

Related
use chrome console in selenium Code Example use chrome console in selenium Code Example
python3 vowels and consonants filter Code Example python3 vowels and consonants filter Code Example
python custom errors Code Example python custom errors Code Example
python method to filter vowels in a string Code Example python method to filter vowels in a string Code Example
convert int to byte python Code Example convert int to byte python Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
6