I teamed up with Max for this project, and the process was easy as Black Jack is not hard to play and create . As strengths I saw ways to shape better the project so it would look better, but my weakness is that I didn´t know how to play it so Max was behind the rules and stuff. but I did learn some codes and better ways to structure the codes. Also working with Max was easy as I already knew how he works because I have worked with him in other classes. And the only thing I would change about this project is to make it look cooler, like with colors or fonts.
#Mastery20

File Input/Output
It is similar to call function, but you coppy all or specific parts of the document you are opening. Example:

Reading specific parts:

The number 15 in parenthesis if for the number of characters that you want to be printed.
References:
https://www.w3schools.com/python/python_file_open.asp
#Mastery21

Dictionaries
Dictionares are useful when you want to print or call information from a certain thing that you previously created. Simple example:

Or also make loops:

References:
https://www.w3schools.com/python/python_dictionaries.asp
#Mastery 19

Validated user input
Validating what the user writes can be more simple than what you think. Here´s an example, and you will notice that you have been doing it without knowing:

Ask you can see it is what you´ve been doing all the time when codying a program.
Here is another example:

References:
https://stackoverflow.com/questions/23294658/asking-the-user-for-input-until-they-give-a-valid-response
#Mastery18

Strings
Strings are literally word or sentences used when codying in python. it is important to rebember that you have you use «…» to write string correctly.
PRINTING STRINGS

ASSIGN STRING TO A VARIABLE

MULTILINE STRINGS

References:
https://www.w3schools.com/python/python_strings.asp
#Mastery17

Lists and Tuples
It is common to confuse both as they can be used to store a collection of items, but there is a difference. Lists are mutables and tuples are immutables.
Examples. Lists:

As you can see it is ordered as you wrote it.

In this case you can see that we you write strings you use ‘asd’
Examples. Tuples:

Here is another example of how to use tuples:

References:
https://realpython.com/python-lists-tuples/
https://www.afternerd.com/blog/difference-between-list-tuple/
#Mastery16

Which repetition?
Now that you know the repetition codes do you feel confused about which one to use?, in this post you will see the correct use of each.
While
It will execute a set of statements as long as the condition is true, but it requires relevant variables to be ready

For
Is used for iterating over a sequence (list, tupe, dictionary, etc)

Recursion
Is a code in which a function calls itself one or more times in its body, usually returning the value of the function call.

References:
https://www.w3schools.com/python/python_while_loops.asp
https://www.w3schools.com/python/python_for_loops.asp
https://realpython.com/python-thinking-recursively/
#Mastery15

Recursion
Is a code in which a function calls itself one or more times in its body, usually returning the value of the function call.
There is not an exact formula for this codding way but here are some examples:
Strings:

Notice that you first write the «complement» of the main phrase and then you create the function. Don´t forget to call the function at the end, otherwise the program won´t run anything.
Here´s a mathematical model about recursion, factorials:

Notice that this time we wrote (factorial(5)) because we wanted to do it five times.
References:
https://realpython.com/python-thinking-recursively/
https://www.python-course.eu/recursive_functions.php
#Mastery14

For
This is a similar loop, that can be replaced for the while loop.
Steps to follow
1.-Make a string variable
2.-Follow the code: «for (variable 2) in (variable 1):»
3.-Write the action you want to do
Example:

If you want to stop just add an «if statement» an then «break»:

Now, if you want to skip a string you made add the conditional «if» and «continue» statement, example:

References:
https://www.w3schools.com/python/python_for_loops.asp
#Mastery13

While
The while loop executes a set of statements as long the conditions are true. The code is:
while (condition):

*NOTE: REMEMBER TO INCREMENT I OR THE LOOP WILL CONTINUE FOREVER*
If you want to stop the loop even when the statement is correct you use «break».

References: