input function in django 1

input function in django

m=input("Enter First Name:")
n=input("Enter Second Name:")

x=m+" "+n

print(x)

Here is what the above code is Doing:
1. We are taking two inputs from the user.
2. We are storing the inputs in two variables m and n.
3. We are concatenating the two variables and storing the result in a new variable x.
4. We are printing the value of x.

Similar Posts