exercism

Exercism solutions.
git clone git://code.dwrz.net/exercism
Log | Files | Refs

README.md (931B)


      1 # Two Fer
      2 
      3 Welcome to Two Fer on Exercism's Python Track.
      4 If you need help running the tests or submitting your code, check out `HELP.md`.
      5 
      6 ## Instructions
      7 
      8 `Two-fer` or `2-fer` is short for two for one. One for you and one for me.
      9 
     10 Given a name, return a string with the message:
     11 
     12 ```text
     13 One for name, one for me.
     14 ```
     15 
     16 Where "name" is the given name.
     17 
     18 However, if the name is missing, return the string:
     19 
     20 ```text
     21 One for you, one for me.
     22 ```
     23 
     24 Here are some examples:
     25 
     26 |Name    |String to return
     27 |:-------|:------------------
     28 |Alice   |One for Alice, one for me.
     29 |Bob     |One for Bob, one for me.
     30 |        |One for you, one for me.
     31 |Zaphod  |One for Zaphod, one for me.
     32 
     33 ## Source
     34 
     35 ### Created by
     36 
     37 - @samwincott
     38 
     39 ### Contributed to by
     40 
     41 - @cmccandless
     42 - @denislooby
     43 - @Dog
     44 - @Grociu
     45 - @ikhadykin
     46 - @mikeyny
     47 - @N-Parsons
     48 - @tqa236
     49 - @xarxziux
     50 - @yawpitch
     51 
     52 ### Based on
     53 
     54 https://github.com/exercism/problem-specifications/issues/757