0% found this document useful (0 votes)
16 views1 page

Python Basics: Data Types & Examples

The document introduces Python as an easy-to-code, cross-platform, free and open-source, integrated, interpreted, and high-level programming language. It provides examples of data structures such as lists, tuples, and dictionaries. Additionally, it mentions the use of 'type(variable)' to check the data type of a variable.

Uploaded by

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

Python Basics: Data Types & Examples

The document introduces Python as an easy-to-code, cross-platform, free and open-source, integrated, interpreted, and high-level programming language. It provides examples of data structures such as lists, tuples, and dictionaries. Additionally, it mentions the use of 'type(variable)' to check the data type of a variable.

Uploaded by

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

Introduction To Python

Easy to code
Cross platform
Free and open source
Integrated and interpreted language
High-level language

List: example

services = ["http", "ssh", "ftp"]

Tuple: example

ports = ("http", "ssh", "smb", "ftp")

Dictionary: example

services = {"http":, "ssh":23, "smb":445}

type(variable) Se usa para ver el tipo de dato que es

You might also like