Computer Science, asked by PRATHAMABD, 11 months ago

HELLO FRIENDS

WRITE A PYTHON PROGRAM FOR USER DATA ACCEPTENCE

FAST....

BEST ANS WILL BE MARKED AS BRAINLIST​

Answers

Answered by siddhartharao77
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 Siddharta7
2

fname = input("Input your First Name : ")

lname = input("Input your Last Name : ")

print ("Hello  " + lname + " " + fname)


siddhartharao77: Mark as brainliest
Similar questions