[Python Debugging] SyntaxError: non-default argument follows default argument & How Function Works in Python
def greet(msg="Good morning!", name): return "Hi! " + name + ', ' + msg print(greet("John")) # Syntax Error print(greet("Mary", "How do you do?")) # Syntax Error Look at the code above and think of why that would cause an error. When you declar...
![[Python Debugging] SyntaxError: non-default argument follows default argument & How Function Works in Python](https://cdn.hashnode.com/res/hashnode/image/upload/v1734241170726/d0648fbf-b661-4dbb-aa91-fc52d87da011.jpeg)
![[JavaScript] Pure Function for Clean Code](https://cdn.hashnode.com/res/hashnode/image/upload/v1698236087289/8447281f-9b19-4c8f-a740-5997d5f24113.jpeg)
![[JavaScript] Intermediately Invoked Function Expression (IIFE)](https://cdn.hashnode.com/res/hashnode/image/upload/v1698145568729/8f46d8aa-c0e5-4b83-a63d-2c1b0084a8b2.png)
![[JavaScript] Understanding Function Declaration vs Function Call](https://cdn.hashnode.com/res/hashnode/image/upload/v1684826126945/5fa2587f-45e5-4290-b1c6-a2e83649df30.jpeg)