Print a greeting
Send a string to standard output.
print("Hello, LabEx")Run beginner Python examples online and continue in a real Python environment. Practice printing, arithmetic, and lists with immediate command output.
Start here
Load a task into the terminal, then press Enter to see the result. Each example works in the introductory session on this page.
Send a string to standard output.
print("Hello, LabEx")Use Python as an interactive calculator.
(6 + 4) * 3The session starts with scores = [72, 85, 91, 68, 94].
scoresCount the elements in the preloaded scores list.
len(scores)Calculate the sum of the sample scores.
sum(scores)Create a sorted copy without changing the original list.
sorted(scores)Save a string; then enter message to read it back.
message = "Learning Python"Generate the integers from zero through four.
list(range(5))No setup needed
Run beginner Python examples online and continue in a real Python environment. Practice printing, arithmetic, and lists with immediate command output.
Start with the short command exercises above. When you are ready for a project, open the linked LabEx lab to work with real tools in an online Linux environment, with step-by-step guidance and immediate feedback.
Keep learning
Build on your Python experiments with a structured skill tree. Explore the skills, choose a guided lab, and practice each concept in an online environment.
Yes. Try the introductory Python expressions here, then sign in to a hosted Python lab for scripts, files, modules, and package-based projects.
The introductory exercises are free. Sign in for a complete LabEx environment; session duration and resources depend on your lab and plan.
No local installation is required. Sign in and open the lab in a modern browser. Follow the lab instructions to configure software inside the environment.
This preview supports a limited command set. Sign in and launch the Python lab for more commands, packages and services. Available software and permissions depend on the selected lab.
Follow the Python Skill Tree for guided labs and challenges. Practice regularly, inspect command output and ask Labby for help.
Your next step
Continue with real tools, guided labs, and Labby assistance.