Post = {Basic types: same but different}

Well, we need to learn the basic types beacuse python. So I am going to explain them the easy way, as always; in python there are these things called variables, that have no personality whatsoever; thus, they need you to define them by assigning them values. In python there are three kinds of values:

Numbers: which are integers (1), floats (1.0), and complex (1j). These are super simple.

Strings: They are words. «Words»

Lists: They can be a list of both strings and numbers.

Tuple: They are basically lists that cannot be modified.

Dictionaty: They consist of a key and a value; it is weird to explain.

And to show you that I have practiced them:

basic

But I need to give credit to the page that actually showed me those basic types (that happens to be the second entry in the google search):

Link: https://www.tutorialspoint.com//python3/python_variable_types.htm

 

 

Un comentario en “Post = {Basic types: same but different}

Deja un comentario