Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1052aa7

Browse files
Merge pull request #31 from hexbreak/patch-11
Update README.md
2 parents afd60cd + fd8152b commit 1052aa7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎exercises/12.5-Yes_and_no/README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Example output:
1111
[ 'woko', 'wiki', 'woko', 'woko', 'wiki', 'wiki', 'wiki', 'woko', 'woko', 'wiki', 'woko', 'wiki', 'wiki', 'woko', 'woko', 'woko', 'woko', 'woko', 'woko', 'woko', 'woko', 'wiki', 'woko', 'woko', 'woko', 'woko', 'wiki' ]
1212
```
1313

14-
Hint
15-
You need to map the entire list
14+
💡Hint:
15+
-You need to map the entire list
1616
Inside your mapping function you need to use a conditional to verify if the current value is 0 or 1.
1717
If the current value is 1 you print the string 'wiki'
18-
If the current value is 0 you print the string 'woko'
18+
If the current value is 0 you print the string 'woko'

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /