Lesson 1 of 34
आपका पहला Python प्रोग्राम
5 min 20 XP
Python में स्क्रीन पर कुछ दिखाने के लिए हम print() का उपयोग करते हैं। नीचे दिए प्रोग्राम को Run करें। यही आपका पहला प्रोग्राम है!
Example: edit me and press Run
Output Loading Python (first time takes a few seconds)
Press Run to see the result here.टेक्स्ट हमेशा quotes " " के अंदर लिखा जाता है। इसे string कहते हैं। संख्याओं को quotes की ज़रूरत नहीं होती, Python उनकी गणना करता है।
Example: edit me and press Run
Output Loading Python (first time takes a few seconds)
Press Run to see the result here.हर print() अपना output नई लाइन पर दिखाता है।