|
|
- #!/usr/bin/env python3
- #title :11-1.py
- #description :11.1: Namespaces
- #author :Marcel Haazen
- #email :marcel@haazen.xyz
- #date :07-11-2019 - 12:55
- #edit_date :07-11-2019 - 12:55
- #version :0.1
- #usage :python3 11-1.py
- #notes :
- #python_version :3.7.4
- #==============================================================================
-
- import time
- b = 7
-
-
- def verdubbelB():
- return b + b
-
-
- dubbel = verdubbelB()
- print(dubbel)
- print(time.strftime(("%H:%M:%S")))
-
-
- def f(y):
- return 2*y + 1
-
-
- def g(x):
- return 5 + x + 10
-
-
- print(f(3)+g(3))
|