Online · Sha Tin · Hong Kong

Weekend STEAM Robotics Workshops for Students in Sha Tin, Hong Kong

Weekend STEAM robotics workshops for students near Sha Tin combine mechanical structure ideas, motor control and programming so learners practise end-to-end engineering thinking online.

STEAM Sha Tin

Video coming soon

Lesson notes and Q&A below are available now. The video will appear here when published.

1. Introduction: Python’s Syntax Simplicity

When comparing Python to traditional programming languages, the most striking difference is its clean and straightforward syntax. Older languages like C++ and Java enforce strict rules, such as requiring every single statement to terminate with a semicolon (;). Missing a semicolon in those languages triggers syntax errors that beginners often spend significant time troubleshooting.

In Python, such unnecessary restrictions have been removed:

  • No semicolons are required at the end of lines.
  • No boilerplate wrapper code (such as class definitions or main methods) is needed just to print a simple message.
  • You write precisely the command you want executed, and Python runs it directly.

2. Jupyter Notebook Interface & File Formats

Jupyter Notebook does not use a standalone desktop IDE; instead, it hosts an interactive code editor directly inside your web browser.

ExtensionCharacteristics
.ipynb (Jupyter Notebook) Interactive, segmented code and text cells; executes cell-by-cell with instant inline output; ideal for experimentation, learning, and debugging.
.py (Standard Python Script) Entire codebase executes together from top to bottom; run in editors like VS Code or PyCharm; standard for production server deployments.

Understanding .ipynb vs. .py Files

  • .ipynb (Interactive Python Notebook):
    • Code is organized into modular code cells interspersed with text segments.
    • Cells can be executed individually, showing output directly below each cell.
    • If an output needs adjustment, you can edit that specific cell and re-run it without re-executing the rest of the script.
    • Ideal for exploratory programming, data science, and step-by-step experimentation.
  • .py (Standard Python Script):
    • The entire program exists in a single continuous script, executing as one whole unit from top to bottom.
    • Used primarily when code is finalized and ready for server deployment.
  • Debugging: Debugging is the process of identifying, inspecting, and fixing errors that occur in code. Because debugging is completed locally on your development machine, clean .py files perform better when deployed to servers.

3. Writing Your First Python Program: The print() Command

The Function and Structure of print()

In Python, output is displayed to the screen using the print() command. In programming terminology, “printing” refers to screen output and visual display, rather than sending text to a physical paper printer.

print("Hello Mr. Waqas")
  1. The Command Name: print instructs Python to display output.
  2. Parentheses (): The brackets tell Python what specific content you want to display.
  3. Double Quotes "": Enclosing text inside quotation marks informs Python that the content is an English sentence (text/string) rather than numbers or variable names. Python outputs the enclosed text exactly as written.

4. Running and Editing Code Cells

  • Executing Code:
    • You can run a cell by clicking the Play button on the toolbar.
    • Alternatively, use the keyboard shortcut Shift + Enter.
  • Interactive Output: When executed, Python displays the output immediately below the cell and automatically advances focus to the next cell.
  • Editing and Adding Multiple Statements: In Jupyter Notebook, you can modify an existing cell at any time and re-run it. To display multiple lines, write separate print() commands on separate lines without semicolons or separator symbols:
print("Hello Mr. Waqas")
print("Welcome")

Output:

Hello Mr. Waqas
Welcome

Both sentences display sequentially on the screen. No extra header declarations or environment setup lines are required.

Lesson Q&A

Python eliminates unnecessary syntactic restrictions and boilerplate code. In languages like C++ and Java, every statement must end with a semicolon (;), and programmers must write extensive scaffolding (classes and main methods) just to print text. In Python, you write the print() function directly on a single line without semicolons or extra boilerplate, and Python executes it immediately.

  • .ipynb (Jupyter Notebook file): Divides code into distinct cells that can be executed independently. You can view output directly beneath each cell, modify code, and re-run specific cells without restarting the entire program, making it ideal for experimentation and data analysis.
  • .py (Standard Python file): Contains complete code that runs from start to finish all at once. It is edited in IDEs like VS Code or PyCharm and is standard for deploying finished, debugged applications to production servers.

The print() function instructs Python to display text or information directly on the computer screen (rather than on a physical printer). Enclosing content in double quotation marks ("") informs Python that the enclosed characters represent an English sentence (text/string), instructing the interpreter to display the message on screen exactly as typed rather than evaluating it as a variable name or numerical computation.

What children can learn

WhatsApp +92 322 421 7059

AI and Robotics Club | The 100 Mission AI & Robotics Hero Journey

Recommended self-paced course for parents & educators

Robotics Miniature Modeling for Kids on Udemy.

Disclosure: This page contains affiliate links. We may earn from qualifying purchases at no extra cost to you. Links are intended for parents and educators, not as marketing directed at young children.

Build and Code: STEAM Robotics Practice for New Territories Families

Sha Tin families benefit from weekend structure without inventing a local campus. Simulators first; hardware under adult supervision. Enquire WhatsApp +92 322 4217059.

Frequently asked questions

What age groups are eligible for weekend STEAM robotics workshops in Sha Tin, Hong Kong?

Our weekend STEAM robotics workshops in Sha Tin cater to primary and secondary students aged 8 to 16. Learners are assigned to age-appropriate project tracks ranging from beginner block robotics to advanced autonomous navigation.

How do these workshops bridge physical craftwork with digital programming?

Students construct physical mechanical models using structural chassis and motor gearboxes, then program those models using microcontrollers. This dual approach develops both structural engineering intuition and coding logic.

What is the fastest way to register a Sha Tin student for the upcoming weekend workshop?

Click the WhatsApp trial button to connect directly with our admissions desk, select your preferred weekend time slot, and lock in your registration instantly.

Explore related learning

Causeway BayArduino · Causeway Bay Sai KungmBlock · Sai Kung CentralRobotics · Central