Python input Function | How To Use Input Function in Python

Python input Function | How To Use Input Function in Python

Python Input Function– Hello Friends Me Aapko Aaj input python ke Bare me batane wala hu Jisse aap python Input Function Learn kar Sakte Hai.

Python input Function

Input Function In python

What is Input Function ?

Input Function se python me user se input le sakte hai . jese ki agar aapko koi user se input lena ho to input function ka use ho ta hai. Input Function Python Keval User se input lene ke liye use hota hai.

Input Function python me keval string value leta hai.agar hame number input karana hoto uske liye ham int function ka use karte hai. int function ko ham next post me dekhte hai is post me keval input functionke bare me dekhte hai.

User input python

Input Function ko Samanj ne ke liye ham kuch example dekhte hai.

http://masterprograming.com/python-string-format/

input function

Input () Function

Example

a = input("Enter Your Name : ")
print(a)

Output

Enter Your Name : Danish
Danish

Jese ki aap dekh sakte hai input function keval user se input lene ke liye use hota hai.agar ham user se or jyada input le to kese lenge aaye dekhte hai is Example me.

python input function

Next Example :

a = input("Enter Your Name :")
b = input("Enter Your Class :")
c = input("Enter Your Roll No :")
d = input("Enter Your Fees :")

print(a)
print(b)
print(c)
print(d)

Output

Enter Your Name : Danish
Enter Your Class : 10
Enter Your Roll No : 20
Enter Your Fees : 12000

Danish
10
20
12000

Danish Ali

I Am a 1st Sem BCA Student & I have Skills C, C++ ,Python, HTML,CSS, Computer & Advance Hacking & Blogger & YouTuber.

Leave a Reply

Your email address will not be published. Required fields are marked *