# Python program showing how to# multiple input using split# 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)
# Python program showing how to# multiple input using split# 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)
#Function in pythondefidentity(age):print("You are "+str(age)+" Years old")
identity(input("Type your age: "))defid(name):print("Hello "+name+"."+"You are our valued customer")print("Have a nice Day "+name)id(input("Type your name: "))# if you want to use the input method to get the user info more# than one time then you should make two function.# In one function you can't get the multiple results.if anyone can find# please add to greeper ans.