Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kevin-hernandez-garza/python_work
https://github.com/kevin-hernandez-garza/python_work
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/kevin-hernandez-garza/python_work
- Owner: Kevin-Hernandez-Garza
- Created: 2024-07-06T02:32:00.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-09-17T04:56:21.000Z (4 months ago)
- Last Synced: 2024-09-17T14:18:50.701Z (4 months ago)
- Language: Python
- Size: 66.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python Journey ๐พ
Embarking on my journey to learn Python programming language.
## Table of Contents ๐
-[ Chapter One ](#chapter-one)
-[ Chapter Two ](#chapter-two)
-[ Chapter Three ](#chapter-three)
-[ Chapter Four ](#chapter-four)
-[ Chapter Five ](#chapter-five)
-[ Chapter Six ](#chapter-six)
-[ Chapter Seven ](#chapter-seven)
-[ Chapter Eight ](#chapter-eight)
### Chapter One
In this chapter I learned to set up my code editor and update my Mac to the latest version of Python. I also create a repo and ran my first line of code outputting Hello World! for good luck โจ. Three applications that I hope to build as a beginner to show my expertise are a simple calculator ใ, to-do list โ , and a web scraper ๐งน.
### Chapter Two
I have learned how to declare variables, use whitespace, and also strip whitespace in order clean up user input in order to store it properly. Additionally, learned a method to remove prefix of a URL. Finally, I also learned how to remove suffix from the end of a string and the whole chapter was reinforced with some exercises. ๐ช๐ผ
I also looked at the manipulation of integers. We finished the chapter by llok at what float numbers look like and the mistakes that they might cause, and you cannot forget about the importance of commenting your code for easier readability. ๐
### Chapter Three
In this chapter I am learning about the benefits of using lists in order to store millions of data of any type, and be able to access it at your convenience. I also learned how to remove elements from removing the last item to a specific element, and even without knowing where that element is on the list โ.
### Chapter Four
I just learned on how to refactor my code to avoid repetitive code while also avoid indexing errors and access long lists by using the for loop. ๐ I also learned how to print a range of numbers and put them in a list. Additionally, I learned something more in-depth which is learning how to add a third argument to the range functions and skipped certain numbers along with raising them into a power. I learned how to find the min, max, and sum of a list. Moreover, I learned how to write my own list comprehension to minimize my coding lines. In this chapter we also learning how to slice a list and skip certain elements. I also learned how to copy an existing list.
### Chapter Five
In this chapter we are learning all about IF statements. We are stating with the basics and conditional tests. I learned how case sensitive conditional tests works and how programs use methods such as the lower method to check all variations of a username to ensure they are unique. I also learned about the or, not, in, and operators in order to check whether a value is in a list. Additionally, I learned how to create true and false tests which conditional operators. We move on to learning about if statements and how they function. It's important that we learned to check if a list is not empty as well.### Chapter Six
In this chapter we are learning all about dictionaries and how to store data in them. Dictonaries can be accessed through specific key/value pairs. Additionally, dictionaries are dynamic structures and allow you to add more key/value pairs once they have been created. Additionally, I learned how to add and modify key/value pairs, and the significance of using empty dictionaries and their used cases. Moreover, I learned how to iterate a dictionary using a for loop. I also just learned how to sort a dictionary in ascending order using the sorted method and iterate over a dictionary and only displaying unique values using the set method. Learning about the range method and appending dictionaries into a list is a powerful to have in my arsenal as well. Finished off the chapter by learning about nesting a dictionary inside another dictionary, a list inside a dictionary, and a dictionary inside a list.
### Chapter Seven
We are starting by learning about the input function in order to take a user's data. The input function return a string where as a int function return a numerical value. Learning all about while loops where they run as long as a condition is true. I went ahead an created a program where the user is ask to input a personal message until he decides to quit the program. A flag is a variable assigned in order to determine whether all conditions are true or false and determine whether a program should keep running. Working with lists and dictionaries and manipulating the user data with while loops.
### Chapter Eight
Learning about functions which are blocks of code that are written once and can be called over and over again. This method helps with writing less code and makes it easier to test. I learned about building simple function and calling them. Along with creating a function that accepts user input values. Positional arguments in a function definition are called/assigned in the order that they a are defined in the first place. When using default values in a function definition you would have to define it at the end of the parameters to let the python interpreter process the other arguments beforehand. I also learned how to make arguments optional and allow the program to still run successfully. Learning how to create a program where the user has the control to terminate the code whenever they are done. Moreover, I learned how to pass a list to a function and manipulate lists. Addtionally, I pass an arbitrary number of arguments to a function since sometimes we won't know exactly what the user will input. Furthermore, I learn how to import a module and or certain function to a python file while also having the option to add an alias to either functions or modules imported or both.#### Built with ๐ using Python Crash Course by Eric Matthes