Code Monkey home page Code Monkey logo

python-devtest's Introduction

Python Developer Test

A simple test to show that a web developer knows how to use basic tools and understands the basics of the Python language.

Make sure your code is compatible with the latest versions of Python 2 and 3. Thanks!

Tests

Please fork this repository, clone it down, and then when you finish a test commit/push your code to Github and submit a pull request.

Write unit tests!

Part 1: Python Basics

String Reverse

  1. Create a function called reverse() that reverses a string.
  2. Add your solution to the "part1/reverse-string" folder in a new folder called "reverse_yourlastname".

Count Vowels

  1. Create a function called vowel_counter() that takes a string as an argument and returns the sum of each vowel found.
  2. Add your solution to the "part1/vowel-counter" folder in a new folder called "counter_yourlastname".

Part 2: Web Development with Flask

  1. Using Flask, create a simple website that has a single form entry field with a submit button.
  2. Submitting the form will result in the submitted text shown in reverse on the next page.
  3. Add your solution to the "part2" folder in a new folder called "reverse_flask_yourlastname".
  4. Commit/push your code up to Heroku
  5. Update the part2/README.md file in this repository with the publicly accessible URL
  6. Commit/push to Github and submit a pull request.

Todo

  1. Add additional tests to part 1
  2. Add Django Test
  3. Add Pyramid Test
  4. Add web2py Test
  5. Create web app

python-devtest's People

Contributors

mjhea0 avatar odubno avatar ni8mr avatar mlnorman avatar garyherd avatar shivajivarma avatar mperham2 avatar

Watchers

James Cloos avatar Akinbode Akinkunmi avatar

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.