0% found this document useful (0 votes)
36 views3 pages

Actividad 1.ipynb

The document is a Jupyter notebook containing Python code snippets that demonstrate basic data structures such as lists, tuples, dictionaries, and sets. Each code cell prints a greeting and the respective data structure. The notebook is structured with metadata for execution in a Colab environment.

Uploaded by

2122300465
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views3 pages

Actividad 1.ipynb

The document is a Jupyter notebook containing Python code snippets that demonstrate basic data structures such as lists, tuples, dictionaries, and sets. Each code cell prints a greeting and the respective data structure. The notebook is structured with metadata for execution in a Colab environment.

Uploaded by

2122300465
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

{

"nbformat": 4,
"nbformat_minor": 0,
"metadata": {
"colab": {
"provenance": []
},
"kernelspec": {
"name": "python3",
"display_name": "Python 3"
},
"language_info": {
"name": "python"
}
},
"cells": [
{
"cell_type": "code",
"execution_count": 27,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "NNG_0PzbS8ll",
"outputId": "58bbb0ae-db0e-4cf5-f1db-5c5eb88ee48d"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"Hola Rene\n",
"[1, 2, 3, 4, 5]\n"
]
}
],
"source": [
"print(\"Hola Rene\")\n",
"lista = [1,2,3,4,5]\n",
"print(lista)"
]
},
{
"cell_type": "code",
"source": [
"print(\"hola Rene\")\n",
"tupla = (1,2,3,4,5,)\n",
"print(tupla)"
],
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "cUQaHuDXX16j",
"outputId": "13634c72-0d64-4b11-812f-8855d442707b"
},
"execution_count": 26,
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"hola Rene\n",
"(1, 2, 3, 4, 5)\n"
]
}
]
},
{
"cell_type": "code",
"source": [
"print(\"Rene\")\n",
"diccionario = {\"nombre\":\"rene\", \"edad\":27, \"trabajo\":\"gruas\"}\
n",
"print(diccionario)\n"
],
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "IYYi31vmbf2_",
"outputId": "3083e554-972d-47ae-af36-555e3c685401"
},
"execution_count": 20,
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"Rene\n",
"{'nombre': 'rene', 'edad': 27, 'trabajo': 'gruas'}\n"
]
}
]
},
{
"cell_type": "code",
"source": [
"print(\"mi_conjunto primavera\")\n",
"conjunto = {6,9,5,4,8,3,}\n",
"print(conjunto)"
],
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "6_vogvP3epa9",
"outputId": "7f0137fe-7d4d-4e98-b4cf-64a3d0236d79"
},
"execution_count": 34,
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"mi_conjunto primavera\n",
"{3, 4, 5, 6, 8, 9}\n"
]
}
]
}
]
}

You might also like