All Projects → PabloVallejo → Python Exercises

PabloVallejo / Python Exercises

🤓 Series of exercises to learn Python

Programming Languages

python
139335 projects - #7 most used programming language
language
365 projects

Labels

Projects that are alternatives of or similar to Python Exercises

cpluspluscourse
C++ Course Taught at CERN, from Sebastien Ponce (LHCb)
Stars: ✭ 19 (-64.81%)
Mutual labels:  exercise
Learn React App
Application that will help you learn React fundamentals. Install this application locally - there's tutorial, code snippets and exercises. The main objective of this project is to help you get off the ground with React!
Stars: ✭ 3,364 (+6129.63%)
Mutual labels:  exercise
Pandas exercises
Practice your pandas skills!
Stars: ✭ 7,140 (+13122.22%)
Mutual labels:  exercise
react-redux-exercise
Exercise to understand better react-redux, how it works and how to use it.
Stars: ✭ 48 (-11.11%)
Mutual labels:  exercise
Chinese Ufldl Tutorial
[UNMAINTAINED] 非监督特征学习与深度学习中文教程,该版本翻译自新版 UFLDL Tutorial 。建议新人们去学习斯坦福的CS231n课程,该门课程在网易云课堂上也有一个配有中文字幕的版本。
Stars: ✭ 303 (+461.11%)
Mutual labels:  exercise
Python Tutorial
python教程,包括:python基础、python进阶;常用机器学习库:numpy、scipy、sklearn、xgboost;深度学习库:keras、tensorflow、paddle、pytorch。
Stars: ✭ 407 (+653.7%)
Mutual labels:  exercise
fx-trading-app
Forex Trading Application workshop
Stars: ✭ 23 (-57.41%)
Mutual labels:  exercise
Stanford dbclass
Collection of my solutions to the (infamous) dbclass (2014 version) offered by Stanford.
Stars: ✭ 35 (-35.19%)
Mutual labels:  exercise
Javascript Exercises
Stars: ✭ 313 (+479.63%)
Mutual labels:  exercise
Book on python algorithms and data structure
🪐 Book on Python, Algorithms, and Data Structures. 🪐
Stars: ✭ 604 (+1018.52%)
Mutual labels:  exercise
gentle-intro-to-reflection
A slow-paced introduction to reflection in Agda. ---Tactics!
Stars: ✭ 58 (+7.41%)
Mutual labels:  exercise
Javascript30
Participating in JavaScript30 course created by @wesbos
Stars: ✭ 289 (+435.19%)
Mutual labels:  exercise
R
Exercises (incl. analyses) with R language (math+statistics)
Stars: ✭ 462 (+755.56%)
Mutual labels:  exercise
traindown
Public site
Stars: ✭ 35 (-35.19%)
Mutual labels:  exercise
Reactnativekatas
This is a project that lets you participate in a fully-immersive, hands-on, and fun learning experience for React Native.
Stars: ✭ 917 (+1598.15%)
Mutual labels:  exercise
prolog puzzles
Prolog puzzles for fun and profit (mostly fun)
Stars: ✭ 39 (-27.78%)
Mutual labels:  exercise
Javascript Exercises
📚 Collection of JavaScript exercises and coding challenges.
Stars: ✭ 385 (+612.96%)
Mutual labels:  exercise
Python Beginner Programming Exercises
Practice your Python programming skills with this interactive and auto-graded set of exercises.
Stars: ✭ 47 (-12.96%)
Mutual labels:  exercise
Lechef
Lechef - Logic Circuit Exercise Framework for visualizing and creating exercises on logic circuit basics in JavaScript
Stars: ✭ 7 (-87.04%)
Mutual labels:  exercise
Kotlin 99
Ninety-Nine Problems in Kotlin
Stars: ✭ 568 (+951.85%)
Mutual labels:  exercise

Simple Python exercises

Build Status

Set of solutions for 46 Simple python exercises, a list of exercises to introduce people to the Python programming language.

This list of exercises comprises logical operators, loops, input and output, regular expressions and more in order for people to have a basic overview of the language.

In order for better categorization, the exercises have been divided into 4 sections.

  1. Very Simple Exercises
  2. Higher Order Functions and List Comprehension
  3. Simple exercises including Input and Output
  4. Somewhat harder exercises

Getting started

To execute a function from the set, just clone the repository or download the .zip containing all the files, then change directory into python-exercises/sections, open the python command line and import the module in which the exercise you want to run is in and then call it.

$ git clone https://github.com/PabloVallejo/python-exercises.git
$ cd python-exercises/sections
$ python

Python 2.7 (r27:82525, Jul ......
>>> import module_1
>>> module_1.historygram( [ 1, 2, 3 ] )
   *
   **
   ***

Running tests

There is also a test suite for this exercises, the purpose of it is first, so that users can refactor things without breaking something, and second, for having a basic reference on how to test functions and use the basic unittests methods.

$ cd python-exercises
$ python tests.py
.........................................
----------------------------------------------------------------------
Ran 41 tests in 0.218s

OK

Contributing

Everyone is welcome to contribute. Feel free to submit a pull request, issue or suggestion you may find relevant.

Reference

The original collection of exercises was created by Torbjörn Lager ([email protected]) and can be found here.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].