Börjat lägga till kodexempel
This commit is contained in:
9
kapitel7/if-ex6.py
Normal file
9
kapitel7/if-ex6.py
Normal file
@@ -0,0 +1,9 @@
|
||||
namn = "Karin"
|
||||
if (namn == "Karin"):
|
||||
print("Hej Karin, välkommen till systemet")
|
||||
inloggad = 1
|
||||
x = 9**2
|
||||
print(x)
|
||||
print("Nu är vi utanför if och denna meningen skrivs \
|
||||
alltid")
|
||||
|
Reference in New Issue
Block a user