HELLO FRIENDS
WRITE A PYTHON PROGRAM FOR USER DATA ACCEPTENCE
FAST....
BEST ANS WILL BE MARKED AS BRAINLIST
Answers
Answered by
5
Input() function:
It is used to get the input from the user.
(or)
To input data into a program, we use input().
Sample Example:
(i)
a = input("Enter your name: ")
print("Hi", a)
(ii)
a = int(intput("Enter a number: "))
b = int(input("Enter a number: "))
c = a + b
print("The sum is:", c)
Hope it helps!
siddhartharao77:
:-)
Answered by
2
fname = input("Input your First Name : ")
lname = input("Input your Last Name : ")
print ("Hello " + lname + " " + fname)
Similar questions