Created directories for the chapters

This commit is contained in:
2022-01-08 20:58:38 +01:00
parent aecb16fe01
commit f83d307a1e
59 changed files with 0 additions and 0 deletions

11
kapitel9/sidan_168_ex1.py Normal file
View File

@@ -0,0 +1,11 @@
#!/usr/bin/env python3
var = "Lisa"
def funk1():
global var
var = "Kalle"
return var
print ("Inuti funk1 är 'var':", funk1())
print ("Globalt är 'var':", var)