Börjat lägga till kodexempel

This commit is contained in:
2024-02-03 16:32:45 +01:00
commit dcd905737e
30 changed files with 229 additions and 0 deletions

8
kapitel7/if-ex3.py Normal file
View File

@@ -0,0 +1,8 @@
x = 15
if (x > 10):
print(str(x) + " är större än 10")
elif (x < 5):
print(str(x) + " är mindre än 5")
else:
print(str(x) + " ligger mellan 5 och 10")