Fundamentals 6 min read

Python Vocabulary and Basic Syntax Guide

This article presents a comprehensive list of essential Python terms and concepts, covering interactive environments, string operations, data structures, control flow, functions, parameters, recursion, list comprehensions, and related vocabulary to help beginners master Python fundamentals.

Python Programming Learning Circle
Python Programming Learning Circle
Python Programming Learning Circle
Python Vocabulary and Basic Syntax Guide

1. Interactive Environment and print Output

Key terms: print (output), coding (encoding), syntax (grammar), error (mistake), invalid, identifier (name), character.

2. String Operations

Key terms: user, name, attribute, value, key.

3. Repeating/Transforming/Replacing/Raw Strings

Key methods: upper, lower, capitalize, title, replace, old, new, swap, case, path, project, test, file, data.

4. Stripping/Searching/Counting

Key methods: strip, index, find, count, start, end, char, sub.

5. Input and Formatting

Key terms: input, prompt, id, format, args, kwargs, year, month, day.

6. Tuples

Key terms: tuple, max, min, iterable, key, function, stop, object.

7. Lists

Key methods: list, reverse, true, false, append, extend, insert, pop, remove, del, clear, sort.

8. Sets

Key methods: set, add, update, discard, intersection, union, difference, symmetric, in, not, disjoint, subset, superset, copy.

9. Dictionaries

Key terms: dict, key, value, item, mapping, sequence, from, get, default, none, arg, kwargs.

10. Loops

Key constructs: for…in…, while…, range, sep, flush, step, continue, break.

11. Conditional Statements

Key keywords: if, else.

12. Operators and Random Numbers

Key terms: module, sys, path, import, from.

13. Defining Functions and Parameters

Key terms: birthday, year, month, day, type, error, missing, required, positional, unsupported.

14. Collecting Parameters

Key terms: create, info, age, height, width, weight, splicing, params, volume, operand.

15. Nested Functions, Scope, Closures

Key terms: inside, outside, radius, perimeter, case, synthesis, execute.

16. Recursive Functions

Key terms: recursion, infinite, maximum, depth, exceeded, factorial, search, power, lower, upper, middle, assert/assertion.

17. List Comprehensions / Lambda Expressions

Key terms: square, even, comprehension, lambda, regular, expression, group, match, span.

The article also includes promotional material inviting readers to follow the public account, scan QR codes for free Python courses, and links to additional Python learning resources.

PythonprogrammingTutorialSyntaxbasicsVocabulary
Python Programming Learning Circle
Written by

Python Programming Learning Circle

A global community of Chinese Python developers offering technical articles, columns, original video tutorials, and problem sets. Topics include web full‑stack development, web scraping, data analysis, natural language processing, image processing, machine learning, automated testing, DevOps automation, and big data.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.