Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dowusubekoe-dev/python-exercism-practice
Solutions and notes for the Exercism Python track
https://github.com/dowusubekoe-dev/python-exercism-practice
devops exercism python
Last synced: about 2 months ago
JSON representation
Solutions and notes for the Exercism Python track
- Host: GitHub
- URL: https://github.com/dowusubekoe-dev/python-exercism-practice
- Owner: dowusubekoe-dev
- Created: 2024-11-18T18:13:14.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-18T19:05:10.000Z (2 months ago)
- Last Synced: 2024-11-18T20:19:45.437Z (2 months ago)
- Topics: devops, exercism, python
- Language: Python
- Homepage: https://exercism.org/tracks/python
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Exercism Python Learning and Practice
## Introduction
This repository showcases my progress in mastering Python, a foundational skill for cloud automation, scripting, and infrastructure management.
### Four (4) Basic Major Features of Python
* Name Assignment (**Variables** & **Constants**)
* Functions (**def** and **return** keywords)
* Comments (gives additional information)
* Docstrings (special strings used to document a module, class, function, or method)
* **Syntax** : They are enclosed in triple quotes (`"""` or `'''`)
* **Placement** : The docstring should be the first statement inside a module, function, class, or method
* **Access** : Docstrings can be accessed using the `__doc__` attribute of the object#### Name Assignment (Variables & Constants)
**names** , also known as **Variables** can be tied to any type of object, using the <**assignment**> (**=**) operator.
* Variables are always written in **snake_case**, and constants in **SCREAMING_SNAKE_CASE**.
```py
>>> my_first_program = "Python" #<-- my_first_program bound to an string object of value Python.
>>> print(type(my_first_program))
>>> print(my_first_program)
``````py
>>> my_car_year_module = 2019 #<-- my_car_year_module bound to an integer object of value 2019>
>>> print(type(my_car_year_module))
>>> print(my_car_year_module)
```**Contants** are names that must be assigned once.
* defined at a module level
* visible to all **functions** and **classes**
* names must not be **re-assigned** or **value mutated**