Python Syntax – MyPython Fundamentals

syntax noun

syn·​tax | \ ˈsin-ˌtaks

Definition of syntax

1 a: the way in which linguistic elements (such as words) are put together to form constituents (such as phrases or clauses)

b: the part of grammar dealing with this

2 : a connected or orderly system : harmonious arrangement of parts or elements

the syntax of classical architecture

3 : syntactics especially as dealing with the formal properties of languages or calculi

The same as the Merriam-Webster dictionary defines the word syntax. Syntax in computer programming refers to the set of rules that define the structure of a language.
Without the correct syntax, the meaning or semantics of a language is nearly impossible to understand. Python aims to be simple and consistent in the design of its syntax, encapsulated in the mantra “There should be one– and preferably only one –obvious way to do it.” from the Zen of Python