Files
dev weycloud 5562abd79b Vorlesung 2
2021-09-23 19:58:44 +02:00

14 lines
321 B
Python

# 1. Was gibt das folgende Programm am Bildschirm aus?
# Gehen Sie es erst im Kopf durch und notieren Sie Ihre Vermutungen.
# Prüfen Sie dann mit der Kommandozeile.
x = 2
y = 3
z = x + y
print(x)
print(z)
print(x, y, z)
print( "x:", x, "y:", y)
print( "x:", x, "\ny:", y)
print(x == y)
print( (z > x) and (x != y) )