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 d2bcfc5

Browse files
Update Exercise-03-List-Less-Than-Ten.py
1 parent 5e0dc01 commit d2bcfc5

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

‎Exercise-03-List-Less-Than-Ten.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,7 @@
88
99
Extras:
1010
11-
1. Instead of printing the elements one by one, make a new list that has all the elements
12-
less than 5 from this list in it and print out this new list.
13-
2. Write this in one line of Python.
14-
3. Ask the user for a number and return a list that contains only elements from the
15-
original list a that are smaller than that number given by the user.
11+
the user.
1612
1713
'''
1814

0 commit comments

Comments
(0)

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