Please enable JavaScript.
Coggle requires JavaScript to display documents.
Python Programming Basics - Coggle Diagram
Python Programming Basics
What is Python?
High level, interpreted Language
Simple Syntax, good for beginners
Used for
Web Development
Data Science
Automation
Artificial Intelligence
Syntax Overview
Syntax is the set of rules that defines the orientation of the symbols that are the structure of a program
In built function print(), prints whatever data value is inside the parenthesis to the screen, in this case, the string "Hello, world!"
Key Syntax Rules
Indentation
Defines code blocks and structure
Case Sensitivity
Distinguishes between variable names
Comments
Provides explnations and notes in code (starts with # and is ignored by the interpretor)
No Semicolons
Satements do not require termination
Variables
A container for storing data values
Naming Variables Rules
Can include letters, numbers and underscores
Should not start with a number
Don't use spaces, instead use undercsores
Variables are case sensitive