---
title: "Discussion on \"[Python Debugging] SyntaxError: non-default argument follows default argument & How Function Works in Python\" | Hashnode"
description: "Discussion on \"[Python Debugging] SyntaxError: non-default argument follows default argument & How Function Works in Python\". you should look at the arguments of your function if you faced SyntaxError. Re-arrange the order of the arguments."
url: "https://hashnode.com/posts/python-debugging-syntaxerror-non-default-argument-follows-default-argument-how-function-works-in-python/6751b35a8fd80e5adee695ed"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [\[Python Debugging\] SyntaxError: non-default argument follows default argument & How Function Works in Python](https://jaylog.hashnode.dev/python-debugging-syntaxerror-non-default-argument-follows-default-argument-how-function-works-in-python?utm_source=hashnode&utm_medium=feed)

you should look at the arguments of your function if you faced SyntaxError. Re-arrange the order of the arguments.

Dec 5, 2024 · 1 min read · jaylog.hashnode.dev  
Updated Dec 15, 2024  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#functions](https://hashnode.com/tag/functions)
-   [#functional-programming](https://hashnode.com/tag/functional-programming)
-   [#debugging](https://hashnode.com/tag/debugging)
-   [#syntaxerror](https://hashnode.com/tag/syntaxerror)

## Written by

[Lim Woojae](https://hashnode.com/@jaylog)

@jaylog · Sydney

  
[View profile](https://hashnode.com/@jaylog)

Computer Science @UNSW

## Responses 1

Markdown supported · ⌘↵ to post

[Parvana](https://hashnode.com/@Xin12)

[Dec 22, 2024](https://hashnode.com/posts/python-debugging-syntaxerror-non-default-argument-follows-default-argument-how-function-works-in-python/6751b35a8fd80e5adee695ed/comment/6767804f353c3c1f94bc815b)

I really like your blog! The insights you share are always so valuable, especially when it comes to improving API debugging skills. Speaking of which, I recently started using EchoAPI, and it has truly streamlined my debugging process.

[Lim Woojae](https://hashnode.com/@jaylog)

[Dec 22, 2024](https://hashnode.com/posts/python-debugging-syntaxerror-non-default-argument-follows-default-argument-how-function-works-in-python/6751b35a8fd80e5adee695ed/comment/6767804f353c3c1f94bc815b#reply-6768184df3938b71a4b96caf)

Thank you! I am so happy to hear that :)
