Giter Site home page Giter Site logo

4geeksacademy / master-python-programming-exercises Goto Github PK

View Code? Open in Web Editor NEW
43.0 4.0 103.0 3.35 MB

Practice your Python programming skills with this interactive and auto-graded set of exercises.

License: Other

Python 100.00%
python python-exercises python3 python-tutorial python-interactive-tutorial python-interactive-exercises breathecode learn-python 100daysofcode learntocode

master-python-programming-exercises's Introduction

🐍 Mastering Python Algorithms Tutorial

By @alesanchezr and other contributors at 4Geeks Academy

Estas instrucciones están disponibles en 🇪🇸 español 🇪🇸

After you finish the begginers, functions, and loop series, this series will really prepare you for your next job or any other programming challenge. Practice everything there is to know to build algorithms with Python, from intermediate to hard challenges.

The entire tutorial is 👆 interactive and ✅ auto-graded.

These exercises were built in collaboration, we need you! If you find any bugs or misspellings, please contribute and report them.

One click installation (recommended):

You can open these exercises in just a few seconds by clicking: Open in Codespaces (recommended) or Open in Gitpod.

Once you have VSCode open the LearnPack exercises should start automatically. If exercises don't run automatically you can try typing on your terminal: $ learnpack start

Local Installation

  1. Make sure you have LearnPack installed, node.js version 14+, and Python version 3+. This is the command to install LearnPack:
npm i @learnpack/[email protected] -g && learnpack plugins:install @learnpack/[email protected]
  1. Clone or download this repository in your local environment.
$ git clone https://github.com/4GeeksAcademy/master-python-programming-exercises.git
$ cd master-python-programming-exercises

Note: Once you finish downloading, you will find an "exercises" folder that contains all the exercises within.

  1. Start the tutorial/exercises by running the following command at the same level your learn.json file is:
$ pip3 install pytest==6.2.5 pytest-testdox mock
$ learnpack start

How are the exercises organized?

Each exercise is a small Python application containing the following files:

  1. app.py: represents the entry Python file that will be executed by the computer.
  2. README.md: contains exercise instructions.
  3. test.py: you don't have to open this file, it contains the testing script for the exercise.

Note: The exercises have automatic grading, but it's very rigid and strict, my recommendation is to not take the tests too serious and use them only as a suggestion, or you may get frustrated.

Contributors

Thanks goes to these wonderful people (emoji key):

  1. Alejandro Sanchez (alesanchezr), contribution: (coder) 💻, (idea) 🤔, (build-tests) ⚠️, (pull-request-review) 👀, (build-tutorial) ✅, (documentation) 📖

  2. Paolo (plucodev), contribution: (bug reports) 🐛, (coder) 💻, (translation) 🌎

  3. Marco Gómez (marcogonzalo), contribution: (bug reports) 🐛, (translation) 🌎

This project follows the all-contributors specification. Contributions of any kind are welcome!

This and many other exercises are built by students as part of the 4Geeks Academy Coding Bootcamp by Alejandro Sánchez and many other contributors. Find out more about our Full Stack Developer Course, and Data Science Bootcamp.

master-python-programming-exercises's People

Contributors

alesanchezr avatar anggiealava avatar charlytoc avatar dsilva06 avatar e-vivanco avatar elviraqdp avatar haydavid23 avatar josemoracard avatar khrisefzm avatar kiddopro avatar lorenagubaira avatar marcogonzalo avatar plucodev avatar sadiel0 avatar tommygonzaleza avatar wotancode avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

master-python-programming-exercises's Issues

Ejercicio 4 área de un triangulo. Problemas con el test unitario.

El área de un triangulo se calcula multiplicando ambos lados divido entre dos, sin embargo al colocar el siguiente código no pasa el test.

#Complete the function to return the area of the triangle.
b = input("Size of B")
h = input("Size of H")

def area_of_triangle(arg1, arg2):
    #your code here, please remove the "None" 
    return (arg1*arg2)/2

# Testing your function
print(area_of_triangle(b, h))

Migrar Replis de Begin JS a python.

@haydavid23 que opinas de hacer esto?

Basicamente hay que replicar los 25 ejercicios de begin JS pero en python, ya el BreatheCode CLI soporta python, aqui te meti un ejemplo de como hacer las pruebas.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.