# Curso de Introducción a Python!
# Matemáticas USC, 2025
print("Hello, World!")
numero_pi = 3.1415
print(numero_pi**2, "es el área de un círculo de radio 1")
nombre = input(prompt)
print(f"Hola, {nombre}.")
res = list(filter(lambda x: x % 2 == 0, lista))
import subprocess
subprocess.run(["pip", "install", "numpy"], check=True)
import numpy as np
A = np.array([[1, 2], [3, 4]])
print("A^2 = ", A @ A)
import pandas as pd
staff = {
"teacher": ["Xiana", "Pablo"],
"python_level": [8, 6],
"swag": [True, True]
}
import matplotlib.pyplot as plt
plt.figure(figsize=(10, 6))
plt.plot(staff["teacher"], staff["python_level"])
from sklearn.model_selection import train_test_split
train_test_split(staff["teacher"], staff["swag"])