Skip to content

Commit 76513ba

Browse files
xarxziuxcmccandless
authored andcommitted
two-fer: Remove default parameter from solution stub (exercism#1641)
* Remove default parameter from Two-Fer submission The Two-Fer exercise is quite a simple one which really requires only two pieces of knowledge in any language: - How do you append strings? - How do you create default parameters? In Python, the first is trivial, while the second is slightly trickier. As written, the example code already provides the answer to the second question which is a massive spoiler, making the exercise far too easy in my opinion. With this PR, I propose that this be dropped from the exercise, leaving the student to work out how default parameters work for themselves. * Change parameter of Two Fer example from blank to named As requested in issue exercism#1641, the parameter to the `two_fer()` function is set to a named value.
1 parent fa0b4ba commit 76513ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/two-fer/two_fer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
def two_fer(name="you"):
1+
def two_fer(name):
22
pass

0 commit comments

Comments
 (0)