Beginner Coding Cheat Sheet FINAL
Beginner Coding Cheat Sheet FINAL
Friendly)
1. Variables & Data Types
int (integer) — Example: x = 10
→ Whole numbers without decimals.
2. Operators
Arithmetic — +, -, *, /, %, **
→ Math operations: add, subtract, etc.
Assignment — =, +=, -=
→ Set or update a variable’s value.
4. Functions
Define Function — Example: def greet():
→ Create reusable blocks of code.
5. Collections
List — Example: colors = ["red", "blue"]
→ Ordered, changeable data.
8. Common Acronyms
IDE — Integrated Development Environment (e.g., VSCode)
Interpreter — A tool that reads and runs your code line by line.
Shell — A command-line interface that lets you interact with your system (e.g., Python
shell, Bash).
Functions — Reusable blocks of code that perform a task (e.g., def greet():).
Pointers (not in Python) — Variables that store memory addresses, common in C/C++.
Python handles memory references automatically.