Python Programming Language
What is Syntax?
Syntax refers to the spelling and grammar of a programming language. Computers are inflexible machines that understand what you type only if you type it in the exact form that the computer expects. The expected form is called the syntax.
When using Python always remember two key rules:
- Rule #1: Python is white-space dependent; code blocks are indented using spaces.
- Rule #2: Python language is case sensitive. It matters for variables, functions and any keyword in general.
Pause and take a look at 9.21 on the video timeline.