Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Ich stelle mich vor; mit viel Text und einigen Farben
- # Copyright 2022, 2023 Roland Richter [Mu: Pygame Zero]
- # Erzeuge ein rechteckiges 800×500 Fenster
- WIDTH = 800
- HEIGHT = 500
- def draw():
- # Setze den Hintergrund auf "Majorelle Blue"
- screen.fill("#6050DC")
- # Begrüße alle links oben mit großer Schriftart
- screen.draw.text("Hallo, Welt!", (30, 30), fontsize=42)
- screen.draw.text("Ich bin Roland und freue mich auf den Kurs", (30, 120))
- screen.draw.text("'Die vielen Seiten von Python'.", (30, 150))
- screen.draw.text("Ich unterrichte Mathematik, Informatik und", (30, 210))
- screen.draw.text("Programmieren am Khevenhüller Gymnasium Linz.", (30, 240))
- screen.draw.text("Davor habe ich an der JKU Linz gearbeitet und dort", (30, 310))
- screen.draw.text("etwa 150.000 Zeilen C, C++ und Java geschrieben.", (30, 340))
- screen.draw.text("Aber ich verwende auch Scratch und Python gerne und", (30, 410))
- screen.draw.text("programmiere damit Kunst, micro:bits und Spiele.", (30, 440))
- def update():
- pass
- # ----------------------------------------------------------------------
- # This program is free software: you can redistribute it and/or modify
- # it under the terms of the GNU General Public License as published by
- # the Free Software Foundation, either version 3 of the License, or
- # (at your option) any later version.
- #
- # This program is distributed in the hope that it will be useful,
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- # GNU General Public License for more details.
- #
- # You should have received a copy of the GNU General Public License
- # along with this program. If not, see <https://www.gnu.org/licenses/>.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement