You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
607 B

5 years ago
  1. #!/usr/bin/env python3
  2. #title :11-1.py
  3. #description :11.1: Namespaces
  4. #author :Marcel Haazen
  5. #email :marcel@haazen.xyz
  6. #date :07-11-2019 - 12:55
  7. #edit_date :07-11-2019 - 12:55
  8. #version :0.1
  9. #usage :python3 11-1.py
  10. #notes :
  11. #python_version :3.7.4
  12. #==============================================================================
  13. import time
  14. b = 7
  15. def verdubbelB():
  16. return b + b
  17. dubbel = verdubbelB()
  18. print(dubbel)
  19. print(time.strftime(("%H:%M:%S")))
  20. def f(y):
  21. return 2*y + 1
  22. def g(x):
  23. return 5 + x + 10
  24. print(f(3)+g(3))