The built-in print() function in Python displays any string that is sent to it. Use the console.log() method in JavaScript to print to the console.
The JavaScript console log function is mostly used for debugging code and writes the output to the console. To open the browser console, right-click the page, select Inspect, and then click Console.
Python application demonstrating how to separate several inputs
# taking two inputs at a time
x, y = input("Enter two values: ").split()
print("Number of boys: ", x)
print("Number of girls: ", y)
print()
# taking three inputs at a time
x, y, z = input("Enter three values: ").split()
print("Total number of students: ", x)
print("Number of boys is : ", y)
print("Number of girls is : ", z)
print()
# taking two inputs at a time
a, b = input("Enter two values: ").split()
print("First number is {} and second number is {}".format(a, b))
print()
# taking multiple inputs at a time
# and type casting using list() function
x = list(map(int, input("Enter multiple values: ").split()))
print("List of students: ", x)
Learn more about program here-
https://brainly.com/question/23777683
#SPJ4