Buy us a coffee

Python me input() function se user se data lena

  • Basic
  • Module 2 of 7 in this level
  • Open to learn
Start this skill

Watch

Watch the video to unlock the quizquiz खोलने के लिए video देखें

What you should understandआपको क्या समझना है?

  • input() से program रुककर user से कुछ लिखवाता है।
  • input() हमेशा string देता है, चाहे user ने number ही क्यों न लिखा हो।
  • Number चाहिए तो int() लगाना पड़ता है, वरना जोड़ने पर ग़लत नतीजा आएगा।