Training Trains logoInternship
Student login
Knowledge Base / Python

๐Ÿ Python

Learn to program from zero. Run every example here in your browser, with nothing to install.

  1. 1. Getting started with Python
    Your first program, comments, and how Python uses indentation.
  2. 2. Variables and data types
    Numbers, strings, booleans, and converting between them.
  3. 3. Strings
    Slicing, useful methods and f-strings.
  4. 4. Conditions
    if, elif, else, and combining tests.
  5. 5. Loops
    Repeat work with for and while, and control it with break and continue.
  6. 6. Lists and tuples
    Store many values, change them, and build lists in one line.
  7. 7. Dictionaries and sets
    Look values up by key, and keep only unique items.
  8. 8. Functions
    Reuse code with parameters, defaults and return values.
  9. 9. Errors and files
    Handle problems without crashing, and read and write files safely.
  10. 10. Classes and objects
    Bundle data with the code that uses it.
  11. 11. Python quick reference
    Common built-ins and methods on one page.

Finished? Go deeper in the Python learning path and earn a free certificate.

๐Ÿ“ N.G. Palayam Branch: directions๐Ÿ“ Perundurai Branch: directionsAll offices & phone numbersPrivacyCode of Conduct
๐Ÿ’ผ Mentor on LinkedInโ–ถ๏ธ YouTube๐Ÿ“ธ Instagram๐Ÿข LinkedInWhy connect?
ยฉ 2026 Training Trains Software Technologies & Institute, Erode ยท trainingtrains.com