Your First Python Program

EinrichtungSyntax

Congratulations on setting up! 👏 Now it’s time for the most exciting part: writing and running your very first Python program!

Every programmer starts with a simple program that says “Hello, World!”. It’s a tradition – and today you’ll do it too!

The print() Function – Saying Hello

The print() function shows text (or numbers) on the screen. It’s the easiest way to see what your code does.

Click Run – you should see the messages appear below! 🎉

Printing Multiple Lines

You can print as many lines as you want – just use multiple print() statements.

Adding Comments – Notes in Your Code

Comments are messages for yourself (or others) that Python ignores. Start with #.

Making It Personal

Change the text to say something about you!

You just made your program unique – awesome! 🌟

What You Learned Today

  • How to use print() to show messages
  • How to write multiple lines of output
  • How to add comments with #
  • How to run your code and see results

You’re doing amazing! In the next lessons, we’ll learn about variables – storing information like your name or score. Ready? 😄

Quick Fun Quiz

Wir haben die Materialien überprüft, dennoch können Fehler vorkommen. Der Inhalt dient ausschließlich Bildungszwecken, daher verwende ihn auf eigene Verantwortung und überprüfe ihn bei Bedarf mit anderen Quellen.

✨ Frag Lara — deine KI-Lernpartnerin

Entsperre personalisierte Lernunterstützung. Lara kann Lektionen erklären, Themen zusammenfassen und deine Lernfragen beantworten — verfügbar ab dem Go-Tarif.


Lara hilft dir, schneller zu lernen — exklusiv für ReadyTools Go-, Plus- und Max-Mitglieder.

Verfolge deinen Fortschritt 🚀

Lerne einfacher, indem du deinen Fortschritt kostenlos verfolgst.