Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

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()
 
PREVIOUS NEXT
Tagged: #inputs #single #line #python
ADD COMMENT
Topic
Name
1+4 =