Computer Science, asked by faizalashrafi124, 11 months ago

what is input function in programm python​

Answers

Answered by Anonymous
5

Input Function is used when we have to take Desired output from the user,

Let Understand it from Example:-

You want three number from the user and want to Add it.

So,

Here is the code:-

#We first have to give them a Variable.

a = float(input( "Enter First number :"))

b = float(input("Enter second number:"))

c = float(input("Enter Third Number:"))

#Variable = Sum

Sum = a + b + c

print(Sum)

For Output and Code Prefer to attachment.

Attachments:
Answered by mamta10july1980
0

Explanation:

this is your answer hope it will help you

Attachments:
Similar questions