https://github.com/zeioth/basic-programming-principles
Examples for people initiating in coding
https://github.com/zeioth/basic-programming-principles
Last synced: about 1 year ago
JSON representation
Examples for people initiating in coding
- Host: GitHub
- URL: https://github.com/zeioth/basic-programming-principles
- Owner: Zeioth
- Created: 2023-07-01T12:03:54.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-01T12:14:02.000Z (almost 3 years ago)
- Last Synced: 2025-03-27T13:47:13.814Z (over 1 year ago)
- Language: Python
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Concepts in this examples
``` md
# hello_world.py LEVEL: Easy
- How do we define a function?.
- How do we call a function? (and for what?)
- How do we use if/else? (and for what?)
# mi_programa_random.py NIVEL: Advanced
- How do we use "import" to call a funcion
not created by us? (and for what?)
```
## How to run this
Make sure you have python installed. On linux it comes pre-installed. But if you are on windows you have two options:
* [Enable the Linux Subsystem for windows](https://www.youtube.com/watch?v=1ap3hL-UR9I). That way you have a linux terminal inside of Windows (recommended).
* Or just download python and run a terminal.
Now you can run the python program in your current directory like:
``` shell
python hello_world.py
```