Skip to content

Latest commit

 

History

History
88 lines (63 loc) · 2.65 KB

File metadata and controls

88 lines (63 loc) · 2.65 KB

Introduction of Computer Science Repository

GitHub issues GitHub forks GitHub stars GitHub GitHub license

This repository goal is to provide support for students of the Introduction of Computer Science course during the development of their programs using the Python 3 language. It also contains the codes of the problems presented in this course.


About Maintainer


Contents

  • Each folder in this repository has a set of Python files referring to the questions presented in the class.

  • The solution of these questions is fundamental to fixing the content taught (besides being fun: smile :)

  • The diagram of the repository files is shown below:

introdComp/
│
├── CodeClasses/
│   ├── reviewCodes/
│   │   ├── cod1.py
│   │   ├── cod2.py
│   │   └── ...
│   ├── conditionalCodes/
│   │   ├── cod1.py
│   │   ├── cod2.py
│   │   └── ...
.
.
│
├── QuickProjects/
│   ├── jokenpo-simples.py
│   └── ...
│
├── gitignore
├── LICENSE
└── README.md

Running Python Code

  • Here, it is assumed that you already have Python 3 installed

  • To running codes just open the terminal (if it is in windows you'll use the prompt or cmd) and change the directory where the code you want to run is

  • Within the directory target execute:

python3 program_name.py
  • Example:

first_code.py

print('Hello World! This is my first code in Python!')

In the terminal, go to the directory where the code is located and run:

python3 first_code.py
> Hello World! This is my first code in Python!

Let's go coding!

Alt Text