PYTHON LESSON 1 OF 32

Hello, Python!

Python is a language for giving a computer clear instructions. Like teaching a friend a recipe, we write one step at a time. print() shows a message on the screen. Text goes inside matching quotes.

हिन्दी में समझें

Python कंप्यूटर को निर्देश देने की भाषा है। जैसे दोस्त को रेसिपी बताते हैं, एक-एक कदम लिखते हैं। print() स्क्रीन पर संदेश दिखाता है। टेक्स्ट को मिलते हुए उद्धरण चिह्नों में रखें।

अभ्यास: बिल्कुल Hello, Excel Keys! प्रिंट करें।

Hinglish mein samjhein

Python se hum computer ko step-by-step instructions dete hain, bilkul recipe ki tarah. print() screen par message dikhata hai. Text ko matching quotes mein likho.

Practice: Exactly Hello, Excel Keys! print karo.

A small Python example

print("Hello, Python!")

The browser playground runs real Python with Pyodide. Use sample variables instead of interactive input(). Browser package support differs from desktop Python.

Try this example in the Python playground →

Practise this idea

Print exactly Hello, Excel Keys!

Check answer & explanation
print("Hello, Excel Keys!")

Text inside quotes is passed to print(). The required sentence includes its spaces, comma and exclamation mark.

Stuck in the course? Choose Check answer for either the challenge or quiz. Read the explanation and continue to the next lesson at your own pace.

Check your understanding

Which instruction displays a message?

  1. print("Hello")
  2. show Hello
  3. message = Hello
Check the quiz answer

print("Hello")

print() displays the value inside its parentheses.

References & corrections

Use the official Python documentation for full language rules. Read how these lessons are made and checked. Found a mistake? Report it to Excel Keys with this lesson URL and a reproducible example.

FROM LEARNING TO BUSINESS RESULTS

Need a dashboard for your team?

Excel Keys designs custom Excel and HTML dashboards around your own KPIs and Excel files. They run offline in the browser, so your data stays on your computer.