12 lines
238 B
Python
12 lines
238 B
Python
x = 10
|
|
y = 15
|
|
|
|
if ((x > 5) and (y < 10)):
|
|
print ("Jag kommer aldrig skrivas ut")
|
|
|
|
if ((x > 5) or (y < 10)):
|
|
print ("Däremot kommer jag att skrivas ut")
|
|
|
|
if ((x == 10) and (y > 12)):
|
|
print ("Jag kommer också att skrivas ut")
|