Author photo

Reza Lavarian

Hey 👋 I'm a software engineer, an author, and an open-source contributor. I enjoy helping people (including myself) decode the complex side of technology. I share my findings on Twitter: @lavary_

[Solved] SyntaxError: positional argument follows keyword argument

🚫 SyntaxError: positional argument follows keyword argument Python raises the “SyntaxError: positional argument follows keyword argument” error if you place one or more keyword arguments (e.g., age=35, name=John) before your positional arguments (e.g., 35, John) in a function call. Based on Python syntax, keyword arguments must follow positional arguments …