0
0
Pythonprogramming~10 mins

What is Python - Hands-On Activity

Choose your learning style9 modes available
What is Python
📖 Scenario: Imagine you want to learn a new language that helps you talk to computers. Python is one of the easiest and most popular languages to start with.
🎯 Goal: You will write a simple Python program that shows what Python is by printing a short message.
📋 What You'll Learn
Create a variable with a message about Python
Print the message to the screen
💡 Why This Matters
🌍 Real World
Python is used by many people to create websites, games, and apps because it is easy to learn and very powerful.
💼 Career
Knowing Python can help you get jobs in software development, data science, automation, and many other technology fields.
Progress0 / 4 steps
1
Create a message about Python
Create a variable called message and set it to the text 'Python is a simple and powerful programming language.'
Python
Need a hint?

Use the equals sign = to assign the text to the variable message.

2
Print the message
Use the print() function to display the content of the variable message on the screen.
Python
Need a hint?

Write print(message) to show the message on the screen.

3
Run the program
Run the program to see the message about Python printed on the screen.
Python
Need a hint?

Click the run button or run the script to see the message appear.

4
Understand the output
Look at the output and understand that Python helps us tell the computer what to do using simple words.
Python
Need a hint?

The output shows the message stored in the variable. This is how Python communicates with us.