Answers for "how to give two inputs in python"

1

two input in one line python

#two input in one line python

X, N = [int(x) for x in input().split()]
Posted by: Guest on November-08-2021
4

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()
Posted by: Guest on August-31-2021

Code answers related to "how to give two inputs in python"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language