Subscribe * indicates required Email Address * Input in Python Python mai hm input le skte hai input function ki help se , input lena mtlb hm saamne se value denge num1 or num2 ki. num1= input ( "enter a number:" ) num2= input ( "enter a number:" ) print ( int (num1)+ int (num2)) output enter a number:56 enter a number:85 141 to hm simply input function ka use krke input le skte hai , lekin ap yaha dekh skte hai ki hmne print statement mai kya print karaya hai , hamne int(num1) + int(num2) likha hai iska mtlb hamne type cast kiya hai to hm type cast kyo kr rahe hai jbki hamne dono value interger value li hai to answer hai jb bhi ham input function ka use krke input lete hai to jo value ham input le rahe hai wo value string mai store hoti hai na k...
Learn Python in very simple language ("keep it super simple")