- Home /
- Python /
- CYB130 Object-oriented Scripting Language /
- CYB/130 Week 5 Python LAB 6.26: Elements in a range
Details
CYB/130 Week 5 Python LAB 6.26: Elements in a range
Write a program that first gets a list of integers from input. That list is followed by two more integers representing lower and upper bounds of a range. Your program should output all integers from the list that are within that range (inclusive of the bounds).
Ex: If the input is:
25 51 0 200 33
0 50
the output is:
25 0 33
The bounds are 0-50, so 51 and 200 are out of range and thus not output.
For coding simplicity, follow each output integer by a space, even the last one. Do not end with newline.
Additional Information
Special Price | $5.00 |
---|
Product Tags
Use spaces to separate tags. Use single quotes (') for phrases.
Check items to add to the cart or select all
-
CYB/130 Week 5 Python LAB 6.5: Checker for integer string
Regular Price: $8.00
Special Price $5.00
-
CYB/130 Week 5 Python LAB 6.24: Varied amount of input data
Regular Price: $8.00
Special Price $5.00
-
CYB/130 Week 5 Python LAB 6.25: Filter and sort a list
Regular Price: $8.00
Special Price $5.00
-
CYB/130 Week 5 Python LAB 6.27: Word frequencies
Regular Price: $8.00
Special Price $5.00
-
CYB/130 Week 5 Python LAB 6.28: Replacement words
Regular Price: $8.00
Special Price $5.00
You have no items in your shopping cart.