Bienvenido/a al Curso de Python, una introducción práctica al lenguaje de programación más popular del mundo. Este repositorio contiene material didáctico, ejemplos y ejercicios para aprender Python desde cero.
El curso está organizado por temas fundamentales, con explicaciones claras y código comentado para facilitar el aprendizaje.
- Sintaxis básica
- Variables y tipos de datos
- Entrada y salida
- Conversión de tipos
- Sentencias
if
,elif
,else
- Operadores lógicos y de comparación
- Anidamiento de condiciones
- Listas, tuplas, conjuntos y diccionarios
- Operaciones comunes
- Iteración sobre colecciones
- Métodos útiles
- Bucles
for
ywhile
- Uso de
break
,continue
,else
- Bucles anidados
- List comprehensions
- Métodos de cadenas (
.upper()
,.lower()
,.split()
, etc.) - Indexación y slicing
- Formateo de texto (
f-strings
) - Operaciones con strings
- Definición de funciones
- Parámetros y argumentos
- Retorno de valores
- Funciones con valores por defecto
- Ámbito de variables
- Uso de
try
,except
- Excepciones comunes (
ValueError
,TypeError
, etc.) - Clausulas
else
,finally
- Definición de excepciones personalizadas (opcional)
Welcome to the Python Course, a practical introduction to one of the most popular programming languages in the world. This repository contains learning materials, examples, and exercises to help you build a strong foundation in Python programming.
The course is organized by core topics, with clear explanations and well-commented code examples for hands-on learning.
- Python syntax
- Variables and data types
- Input and output
- Type conversion
if
,elif
,else
statements- Logical and comparison operators
- Nested conditions
- Lists, tuples, sets, and dictionaries
- Common operations
- Iterating over collections
- Useful methods
for
andwhile
loops- Using
break
,continue
,else
- Nested loops
- List comprehensions
- String methods (
.upper()
,.lower()
,.split()
, etc.) - Indexing and slicing
- Text formatting (
f-strings
) - String operations
- Defining functions
- Parameters and arguments
- Return values
- Default arguments
- Variable scope
- Using
try
,except
- Common exceptions (
ValueError
,TypeError
, etc.) else
,finally
blocks- (Optional) Custom exceptions
- Python 3.8 or higher
- A code editor (VS Code, PyCharm, Sublime Text, etc.)
- Willingness to learn and practice 🧠
This course is ideal for:
- Beginners with no prior programming experience
- Students in computer science or engineering
- Professionals from other fields looking to learn Python
Feel free to open issues or submit pull requests if you'd like to improve the course, fix errors, or suggest new content.